|
|
|
@ -533,7 +533,7 @@ macOS14_Xcode15_arm64:
|
|
|
|
|
|
|
|
|
|
.Windows_Ninja_Base:
|
|
|
|
|
tags:
|
|
|
|
|
- windows
|
|
|
|
|
- saas-windows-medium-amd64
|
|
|
|
|
rules:
|
|
|
|
|
- if: $CI_PIPELINE_SOURCE == "push" || $CI_PIPELINE_SOURCE == "merge_request_event"
|
|
|
|
|
before_script:
|
|
|
|
@ -570,10 +570,10 @@ macOS14_Xcode15_arm64:
|
|
|
|
|
- $env:CCACHE_BASEDIR = Get-Location
|
|
|
|
|
- $env:CCACHE_DIR = "$(Get-Location)\ccache"
|
|
|
|
|
- New-Item -Type Directory -Force -Path $env:CCACHE_DIR
|
|
|
|
|
- New-Item -Type File -Force -Path MSVC2019_64_Ninja\.cmake\api\v1\query\codemodel-v2
|
|
|
|
|
- sh CI/before_script.msvc.sh -c $config -p Win64 -v 2019 -k -V -N -b -t -C $multiview -E
|
|
|
|
|
- New-Item -Type File -Force -Path MSVC2022_64_Ninja\.cmake\api\v1\query\codemodel-v2
|
|
|
|
|
- sh CI/before_script.msvc.sh -c $config -p Win64 -v 2022 -k -V -N -b -t -C $multiview -E
|
|
|
|
|
- Get-Volume
|
|
|
|
|
- cd MSVC2019_64_Ninja
|
|
|
|
|
- cd MSVC2022_64_Ninja
|
|
|
|
|
- .\ActivateMSVC.ps1
|
|
|
|
|
- cmake --build . --config $config
|
|
|
|
|
- ccache --show-stats -v
|
|
|
|
@ -583,47 +583,41 @@ macOS14_Xcode15_arm64:
|
|
|
|
|
- Get-ChildItem -Recurse *.ilk | Remove-Item
|
|
|
|
|
- |
|
|
|
|
|
if (Get-ChildItem -Recurse *.pdb) {
|
|
|
|
|
7z a -tzip "..\..\$(Make-SafeFileName("OpenMW_MSVC2019_64_${config}_${CI_COMMIT_REF_NAME}_${CI_JOB_ID}_symbols.zip"))" '*.pdb' CI-ID.txt
|
|
|
|
|
7z a -tzip "..\..\$(Make-SafeFileName("OpenMW_MSVC2022_64_${config}_${CI_COMMIT_REF_NAME}_${CI_JOB_ID}_symbols.zip"))" '*.pdb' CI-ID.txt
|
|
|
|
|
if (Test-Path env:AWS_ACCESS_KEY_ID) {
|
|
|
|
|
aws --endpoint-url https://rgw.ctrl-c.liu.se s3 cp "..\..\$(Make-SafeFileName("OpenMW_MSVC2019_64_${config}_${CI_COMMIT_REF_NAME}_${CI_JOB_ID}_symbols.zip"))" s3://openmw-artifacts/${artifactDirectory}
|
|
|
|
|
aws --endpoint-url https://rgw.ctrl-c.liu.se s3 cp "..\..\$(Make-SafeFileName("OpenMW_MSVC2022_64_${config}_${CI_COMMIT_REF_NAME}_${CI_JOB_ID}_symbols.zip"))" s3://openmw-artifacts/${artifactDirectory}
|
|
|
|
|
}
|
|
|
|
|
Push-Location ..
|
|
|
|
|
..\CI\Store-Symbols.ps1
|
|
|
|
|
if (Test-Path env:AWS_ACCESS_KEY_ID) {
|
|
|
|
|
aws --endpoint-url https://rgw.ctrl-c.liu.se s3 cp --recursive --exclude * --include *.ex_ --include *.dl_ --include *.pd_ .\SymStore s3://openmw-sym
|
|
|
|
|
}
|
|
|
|
|
7z a -tzip "..\$(Make-SafeFileName("OpenMW_MSVC2019_64_${config}_${CI_COMMIT_REF_NAME}_${CI_JOB_ID}_sym_store.zip"))" '.\SymStore\*' $config\CI-ID.txt
|
|
|
|
|
7z a -tzip "..\$(Make-SafeFileName("OpenMW_MSVC2022_64_${config}_${CI_COMMIT_REF_NAME}_${CI_JOB_ID}_sym_store.zip"))" '.\SymStore\*' $config\CI-ID.txt
|
|
|
|
|
Pop-Location
|
|
|
|
|
Get-ChildItem -Recurse *.pdb | Remove-Item
|
|
|
|
|
}
|
|
|
|
|
- 7z a -tzip "..\..\$(Make-SafeFileName("OpenMW_MSVC2019_64_${config}_${CI_COMMIT_REF_NAME}.zip"))" '*'
|
|
|
|
|
- 7z a -tzip "..\..\$(Make-SafeFileName("OpenMW_MSVC2022_64_${config}_${CI_COMMIT_REF_NAME}.zip"))" '*'
|
|
|
|
|
- |
|
|
|
|
|
if (Test-Path env:AWS_ACCESS_KEY_ID) {
|
|
|
|
|
aws --endpoint-url https://rgw.ctrl-c.liu.se s3 cp "..\..\$(Make-SafeFileName("OpenMW_MSVC2019_64_${config}_${CI_COMMIT_REF_NAME}.zip"))" s3://openmw-artifacts/${artifactDirectory}
|
|
|
|
|
aws --endpoint-url https://rgw.ctrl-c.liu.se s3 cp "..\..\$(Make-SafeFileName("OpenMW_MSVC2022_64_${config}_${CI_COMMIT_REF_NAME}.zip"))" s3://openmw-artifacts/${artifactDirectory}
|
|
|
|
|
}
|
|
|
|
|
- if ($executables) { foreach ($exe in $executables.Split(',')) { & .\$exe } }
|
|
|
|
|
after_script:
|
|
|
|
|
- Get-Volume
|
|
|
|
|
- Copy-Item C:\ProgramData\chocolatey\logs\chocolatey.log
|
|
|
|
|
cache:
|
|
|
|
|
key: ninja-v9
|
|
|
|
|
key: ninja-2022-v9
|
|
|
|
|
paths:
|
|
|
|
|
- ccache
|
|
|
|
|
- deps
|
|
|
|
|
- MSVC2019_64_Ninja/deps/Qt
|
|
|
|
|
- MSVC2022_64_Ninja/deps/Qt
|
|
|
|
|
artifacts:
|
|
|
|
|
when: always
|
|
|
|
|
paths:
|
|
|
|
|
- "*.zip"
|
|
|
|
|
- "*.log"
|
|
|
|
|
- MSVC2019_64_Ninja/*.log
|
|
|
|
|
- MSVC2019_64_Ninja/*/*.log
|
|
|
|
|
- MSVC2019_64_Ninja/*/*/*.log
|
|
|
|
|
- MSVC2019_64_Ninja/*/*/*/*.log
|
|
|
|
|
- MSVC2019_64_Ninja/*/*/*/*/*.log
|
|
|
|
|
- MSVC2019_64_Ninja/*/*/*/*/*/*.log
|
|
|
|
|
- MSVC2019_64_Ninja/*/*/*/*/*/*/*.log
|
|
|
|
|
- MSVC2019_64_Ninja/*/*/*/*/*/*/*/*.log
|
|
|
|
|
- MSVC2022_64_Ninja/*.log
|
|
|
|
|
- MSVC2022_64_Ninja/**/*.log
|
|
|
|
|
# When CCache doesn't exist (e.g. first build on a fork), build takes more than 1h, which is the default for forks.
|
|
|
|
|
timeout: 2h
|
|
|
|
|
|
|
|
|
@ -656,7 +650,7 @@ macOS14_Xcode15_arm64:
|
|
|
|
|
|
|
|
|
|
.Windows_MSBuild_Base:
|
|
|
|
|
tags:
|
|
|
|
|
- windows
|
|
|
|
|
- saas-windows-medium-amd64
|
|
|
|
|
rules:
|
|
|
|
|
- if: $CI_PIPELINE_SOURCE == "push" || $CI_PIPELINE_SOURCE == "merge_request_event"
|
|
|
|
|
before_script:
|
|
|
|
@ -688,9 +682,9 @@ macOS14_Xcode15_arm64:
|
|
|
|
|
- $time = (Get-Date -Format "HH:mm:ss")
|
|
|
|
|
- echo ${time}
|
|
|
|
|
- echo "started by ${GITLAB_USER_NAME}"
|
|
|
|
|
- New-Item -Type File -Force -Path MSVC2019_64\.cmake\api\v1\query\codemodel-v2
|
|
|
|
|
- sh CI/before_script.msvc.sh -c $config -p Win64 -v 2019 -k -V -b -t -C $multiview -E
|
|
|
|
|
- cd MSVC2019_64
|
|
|
|
|
- New-Item -Type File -Force -Path MSVC2022_64\.cmake\api\v1\query\codemodel-v2
|
|
|
|
|
- sh CI/before_script.msvc.sh -c $config -p Win64 -v 2022 -k -V -b -t -C $multiview -E
|
|
|
|
|
- cd MSVC2022_64
|
|
|
|
|
- Get-Volume
|
|
|
|
|
- cmake --build . --config $config
|
|
|
|
|
- cd $config
|
|
|
|
@ -699,46 +693,40 @@ macOS14_Xcode15_arm64:
|
|
|
|
|
- Get-ChildItem -Recurse *.ilk | Remove-Item
|
|
|
|
|
- |
|
|
|
|
|
if (Get-ChildItem -Recurse *.pdb) {
|
|
|
|
|
7z a -tzip "..\..\$(Make-SafeFileName("OpenMW_MSVC2019_64_${config}_${CI_COMMIT_REF_NAME}_${CI_JOB_ID}_symbols.zip"))" '*.pdb' CI-ID.txt
|
|
|
|
|
7z a -tzip "..\..\$(Make-SafeFileName("OpenMW_MSVC2022_64_${config}_${CI_COMMIT_REF_NAME}_${CI_JOB_ID}_symbols.zip"))" '*.pdb' CI-ID.txt
|
|
|
|
|
if (Test-Path env:AWS_ACCESS_KEY_ID) {
|
|
|
|
|
aws --endpoint-url https://rgw.ctrl-c.liu.se s3 cp "..\..\$(Make-SafeFileName("OpenMW_MSVC2019_64_${config}_${CI_COMMIT_REF_NAME}_${CI_JOB_ID}_symbols.zip"))" s3://openmw-artifacts/${artifactDirectory}
|
|
|
|
|
aws --endpoint-url https://rgw.ctrl-c.liu.se s3 cp "..\..\$(Make-SafeFileName("OpenMW_MSVC2022_64_${config}_${CI_COMMIT_REF_NAME}_${CI_JOB_ID}_symbols.zip"))" s3://openmw-artifacts/${artifactDirectory}
|
|
|
|
|
}
|
|
|
|
|
Push-Location ..
|
|
|
|
|
..\CI\Store-Symbols.ps1
|
|
|
|
|
if (Test-Path env:AWS_ACCESS_KEY_ID) {
|
|
|
|
|
aws --endpoint-url https://rgw.ctrl-c.liu.se s3 cp --recursive --exclude * --include *.ex_ --include *.dl_ --include *.pd_ .\SymStore s3://openmw-sym
|
|
|
|
|
}
|
|
|
|
|
7z a -tzip "..\$(Make-SafeFileName("OpenMW_MSVC2019_64_${config}_${CI_COMMIT_REF_NAME}_${CI_JOB_ID}_sym_store.zip"))" '.\SymStore\*' $config\CI-ID.txt
|
|
|
|
|
7z a -tzip "..\$(Make-SafeFileName("OpenMW_MSVC2022_64_${config}_${CI_COMMIT_REF_NAME}_${CI_JOB_ID}_sym_store.zip"))" '.\SymStore\*' $config\CI-ID.txt
|
|
|
|
|
Pop-Location
|
|
|
|
|
Get-ChildItem -Recurse *.pdb | Remove-Item
|
|
|
|
|
}
|
|
|
|
|
- 7z a -tzip "..\..\$(Make-SafeFileName("OpenMW_MSVC2019_64_${config}_${CI_COMMIT_REF_NAME}.zip"))" '*'
|
|
|
|
|
- 7z a -tzip "..\..\$(Make-SafeFileName("OpenMW_MSVC2022_64_${config}_${CI_COMMIT_REF_NAME}.zip"))" '*'
|
|
|
|
|
- |
|
|
|
|
|
if (Test-Path env:AWS_ACCESS_KEY_ID) {
|
|
|
|
|
aws --endpoint-url https://rgw.ctrl-c.liu.se s3 cp "..\..\$(Make-SafeFileName("OpenMW_MSVC2019_64_${config}_${CI_COMMIT_REF_NAME}.zip"))" s3://openmw-artifacts/${artifactDirectory}
|
|
|
|
|
aws --endpoint-url https://rgw.ctrl-c.liu.se s3 cp "..\..\$(Make-SafeFileName("OpenMW_MSVC2022_64_${config}_${CI_COMMIT_REF_NAME}.zip"))" s3://openmw-artifacts/${artifactDirectory}
|
|
|
|
|
}
|
|
|
|
|
- if ($executables) { foreach ($exe in $executables.Split(',')) { & .\$exe } }
|
|
|
|
|
after_script:
|
|
|
|
|
- Get-Volume
|
|
|
|
|
- Copy-Item C:\ProgramData\chocolatey\logs\chocolatey.log
|
|
|
|
|
cache:
|
|
|
|
|
key: msbuild-v9
|
|
|
|
|
key: msbuild-2022-v9
|
|
|
|
|
paths:
|
|
|
|
|
- deps
|
|
|
|
|
- MSVC2019_64/deps/Qt
|
|
|
|
|
- MSVC2022_64/deps/Qt
|
|
|
|
|
artifacts:
|
|
|
|
|
when: always
|
|
|
|
|
paths:
|
|
|
|
|
- "*.zip"
|
|
|
|
|
- "*.log"
|
|
|
|
|
- MSVC2019_64/*.log
|
|
|
|
|
- MSVC2019_64/*/*.log
|
|
|
|
|
- MSVC2019_64/*/*/*.log
|
|
|
|
|
- MSVC2019_64/*/*/*/*.log
|
|
|
|
|
- MSVC2019_64/*/*/*/*/*.log
|
|
|
|
|
- MSVC2019_64/*/*/*/*/*/*.log
|
|
|
|
|
- MSVC2019_64/*/*/*/*/*/*/*.log
|
|
|
|
|
- MSVC2019_64/*/*/*/*/*/*/*/*.log
|
|
|
|
|
- MSVC2022_64/*.log
|
|
|
|
|
- MSVC2022_64/**/*.log
|
|
|
|
|
# When CCache doesn't exist (e.g. first build on a fork), build takes more than 1h, which is the default for forks.
|
|
|
|
|
timeout: 2h
|
|
|
|
|
|
|
|
|
|