1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-30 13:15:34 +00:00

Split CS into separate jobs so build time is less tight.

Now we have twelve Windows jobs. Yay!
This commit is contained in:
AnyOldName3 2020-07-13 17:08:46 +01:00
parent 6a8e736bd2
commit 5549ddab97

View file

@ -46,6 +46,12 @@ MacOS:
paths: paths:
- build/OpenMW-*.dmg - build/OpenMW-*.dmg
variables: &engine-targets
targets: openmw openmw-essimporter openmw-iniimporter openmw-launcher openmw-wizard
variables: &cs-targets
targets: openmw-cs bsatool esmtool niftest
.Windows_Ninja_Base: .Windows_Ninja_Base:
tags: tags:
- windows - windows
@ -66,7 +72,7 @@ MacOS:
- sh CI/before_script.msvc.sh -c $config -p Win64 -v 2019 -k -V -N - sh CI/before_script.msvc.sh -c $config -p Win64 -v 2019 -k -V -N
- cd MSVC2019_64_Ninja - cd MSVC2019_64_Ninja
- .\ActivateMSVC.ps1 - .\ActivateMSVC.ps1
- cmake --build . --config $config - cmake --build . --config $config --target $targets
- cd $config - cd $config
- | - |
if (Get-ChildItem -Recurse *.pdb) { if (Get-ChildItem -Recurse *.pdb) {
@ -93,22 +99,46 @@ MacOS:
- MSVC2019_64_Ninja/*/*/*/*/*/*/*.log - MSVC2019_64_Ninja/*/*/*/*/*/*/*.log
- MSVC2019_64_Ninja/*/*/*/*/*/*/*/*.log - MSVC2019_64_Ninja/*/*/*/*/*/*/*/*.log
Windows_Ninja_Release: Windows_Ninja_Engine_Release:
extends: extends:
- .Windows_Ninja_Base - .Windows_Ninja_Base
variables: variables:
<<: *engine-targets
config: "Release" config: "Release"
Windows_Ninja_Debug: Windows_Ninja_Engine_Debug:
extends: extends:
- .Windows_Ninja_Base - .Windows_Ninja_Base
variables: variables:
<<: *engine-targets
config: "Debug" config: "Debug"
Windows_Ninja_RelWithDebInfo: Windows_Ninja_Engine_RelWithDebInfo:
extends: extends:
- .Windows_Ninja_Base - .Windows_Ninja_Base
variables: variables:
<<: *engine-targets
config: "RelWithDebInfo"
Windows_Ninja_CS_Release:
extends:
- .Windows_Ninja_Base
variables:
<<: *cs-targets
config: "Release"
Windows_Ninja_CS_Debug:
extends:
- .Windows_Ninja_Base
variables:
<<: *cs-targets
config: "Debug"
Windows_Ninja_CS_RelWithDebInfo:
extends:
- .Windows_Ninja_Base
variables:
<<: *cs-targets
config: "RelWithDebInfo" config: "RelWithDebInfo"
.Windows_MSBuild_Base: .Windows_MSBuild_Base:
@ -129,7 +159,7 @@ Windows_Ninja_RelWithDebInfo:
- echo "started by ${GITLAB_USER_NAME}" - echo "started by ${GITLAB_USER_NAME}"
- sh CI/before_script.msvc.sh -c $config -p Win64 -v 2019 -k -V - sh CI/before_script.msvc.sh -c $config -p Win64 -v 2019 -k -V
- cd MSVC2019_64 - cd MSVC2019_64
- cmake --build . --config $config - cmake --build . --config $config --target $targets
- cd $config - cd $config
- | - |
if (Get-ChildItem -Recurse *.pdb) { if (Get-ChildItem -Recurse *.pdb) {
@ -156,20 +186,44 @@ Windows_Ninja_RelWithDebInfo:
- MSVC2019_64/*/*/*/*/*/*/*.log - MSVC2019_64/*/*/*/*/*/*/*.log
- MSVC2019_64/*/*/*/*/*/*/*/*.log - MSVC2019_64/*/*/*/*/*/*/*/*.log
Windows_MSBuild_Release: Windows_MSBuild_Engine_Release:
extends: extends:
- .Windows_MSBuild_Base - .Windows_MSBuild_Base
variables: variables:
<<: *engine-targets
config: "Release" config: "Release"
Windows_MSBuild_Debug: Windows_MSBuild_Engine_Debug:
extends: extends:
- .Windows_MSBuild_Base - .Windows_MSBuild_Base
variables: variables:
<<: *engine-targets
config: "Debug" config: "Debug"
Windows_MSBuild_RelWithDebInfo: Windows_MSBuild_Engine_RelWithDebInfo:
extends: extends:
- .Windows_MSBuild_Base - .Windows_MSBuild_Base
variables: variables:
<<: *engine-targets
config: "RelWithDebInfo"
Windows_MSBuild_CS_Release:
extends:
- .Windows_MSBuild_Base
variables:
<<: *cs-targets
config: "Release"
Windows_MSBuild_CS_Debug:
extends:
- .Windows_MSBuild_Base
variables:
<<: *cs-targets
config: "Debug"
Windows_MSBuild_CS_RelWithDebInfo:
extends:
- .Windows_MSBuild_Base
variables:
<<: *cs-targets
config: "RelWithDebInfo" config: "RelWithDebInfo"