Commit e9aa83bf authored by nanahira's avatar nanahira

ci

parent 81a4b8f4
Pipeline #38927 failed
...@@ -52,7 +52,7 @@ dll: ...@@ -52,7 +52,7 @@ dll:
# accelerator # accelerator
- 'sed -Ei "s/( m_CacheServerMode: ).*$/\11/" ProjectSettings/EditorSettings.asset' - 'sed -Ei "s/( m_CacheServerMode: ).*$/\11/" ProjectSettings/EditorSettings.asset'
- 'sed -Ei "s/( m_CacheServerEndpoint: ).*$/\1unity-accelerator.myacg.cc/" ProjectSettings/EditorSettings.asset' - 'sed -Ei "s/( m_CacheServerEndpoint: ).*$/\1unity-accelerator.myacg.cc/" ProjectSettings/EditorSettings.asset'
- unity-editor -quit -nographics -projectPath . -buildTarget $BUILD_TARGET -buildLinux64Player Builds/$BUILD_TARGET/$EXEC_NAME -logFile /dev/stdout - unity-editor -quit -nographics -projectPath . -buildTarget $BUILD_TARGET -build$BUILD_CMD Builds/$BUILD_TARGET/$EXEC_NAME -logFile /dev/stdout
- rm -rf Builds/$BUILD_TARGET/MDPro3_BurstDebugInformation_DoNotShip - rm -rf Builds/$BUILD_TARGET/MDPro3_BurstDebugInformation_DoNotShip
artifacts: artifacts:
paths: paths:
...@@ -64,18 +64,58 @@ StandaloneLinux64: ...@@ -64,18 +64,58 @@ StandaloneLinux64:
variables: variables:
BUILD_TARGET: StandaloneLinux64 BUILD_TARGET: StandaloneLinux64
EXEC_NAME: MDPro3 EXEC_NAME: MDPro3
BUILD_CMD: Linux64Player
StandaloneWindows64: StandaloneWindows64:
extends: .unity extends: .unity
image: unityci/editor:6000.0.24f1-windows-mono-3 image: unityci/editor:6000.0.24f1-windows-mono-3
variables: variables:
BUILD_TARGET: StandaloneWindows64 BUILD_TARGET: StandaloneWindows64
EXEC_NAME: MDPro3.exe EXEC_NAME: MDPro3.exe
BUILD_CMD: Windows64Player
StandaloneOSX: StandaloneOSX:
extends: .unity extends: .unity
image: unityci/editor:6000.0.24f1-mac-mono-3 image: unityci/editor:6000.0.24f1-mac-mono-3
variables: variables:
BUILD_TARGET: StandaloneOSX BUILD_TARGET: StandaloneOSX
EXEC_NAME: MDPro3.app EXEC_NAME: MDPro3.app
BUILD_CMD: OSXUniversalPlayer
.assetbundles:
stage: build
tags:
- linux
dependencies: []
script:
# standalone
- mkdir -p release/Platforms
- git clone --depth 1 https://code.moenext.com/sherry_chaos/mdpro3-assetbundles
# Ask sherry for mdpro3-assetbundles path relationship
#- mv mdpro3-assetbundles/StandaloneWindows64 release/Platforms/StandaloneWindows64
#- mv mdpro3-assetbundles/StandaloneOSX release/Platforms/StandaloneOSX
#- mv mdpro3-assetbundles/StandaloneLinux64 release/Platforms/StandaloneLinux64
#- mv mdpro3-assetbundles/iOS release/Platforms/iOS
- mv mdpro3-assetbundles/$FROM release/Platforms/$TO
artifacts:
paths:
- release
.assetbundles_windows:
extends: .standalone
variables:
FROM: StandaloneWindows64
TO: StandaloneWindows64
.assetbundles_linux:
extends: .standalone
variables:
FROM: StandaloneLinux64
TO: StandaloneLinux64
.assetbundles_macos:
extends: .standalone
variables:
FROM: StandaloneOSX
TO: StandaloneOSX
resources: resources:
stage: build stage: build
...@@ -92,16 +132,6 @@ resources: ...@@ -92,16 +132,6 @@ resources:
# Ask sherry for Picture/DIY and Sound # Ask sherry for Picture/DIY and Sound
- mkdir -p release/Picture/DIY release/Sound - mkdir -p release/Picture/DIY release/Sound
# standalone
- mkdir -p release/Platforms
- git clone --depth 1 https://code.moenext.com/sherry_chaos/mdpro3-assetbundles
# Ask sherry for mdpro3-assetbundles path relationship
- mv mdpro3-assetbundles/StandaloneWindows64 release/Platforms/StandaloneWindows64
- mv mdpro3-assetbundles/StandaloneOSX release/Platforms/StandaloneOSX
- mv mdpro3-assetbundles/StandaloneLinux64 release/Platforms/StandaloneLinux64
- mv mdpro3-assetbundles/iOS release/Platforms/iOS
# Data # Data
- git clone --depth 1 https://github.com/mycard/ygopro-scripts - git clone --depth 1 https://github.com/mycard/ygopro-scripts
- rm Data/script.zip - rm Data/script.zip
...@@ -143,6 +173,7 @@ pack_windows: ...@@ -143,6 +173,7 @@ pack_windows:
TARGET_PLATFORM: win32 TARGET_PLATFORM: win32
dependencies: dependencies:
- StandaloneWindows64 - StandaloneWindows64
- assetbundles_windows
- resources - resources
pack_linux: pack_linux:
...@@ -152,6 +183,7 @@ pack_linux: ...@@ -152,6 +183,7 @@ pack_linux:
TARGET_PLATFORM: linux TARGET_PLATFORM: linux
dependencies: dependencies:
- StandaloneLinux64 - StandaloneLinux64
- assetbundles_linux
- resources - resources
pack_macos: pack_macos:
...@@ -161,4 +193,5 @@ pack_macos: ...@@ -161,4 +193,5 @@ pack_macos:
TARGET_PLATFORM: darwin TARGET_PLATFORM: darwin
dependencies: dependencies:
- StandaloneOSX - StandaloneOSX
- assetbundles_macos
- resources - resources
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment