1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-06-30 07:11:34 +00:00

Merge branch 'fix_windows_ci' into 'master'

Use installed CMake for Windows CI jobs

See merge request OpenMW/openmw!2834
This commit is contained in:
psi29a 2023-03-15 10:28:08 +00:00
commit ca13aa6332

View file

@ -429,7 +429,6 @@ macOS12_Xcode13:
- choco install git --force --params "/GitAndUnixToolsOnPath" -y
- choco install 7zip -y
- choco install ccache -y
- choco install cmake.install --installargs 'ADD_CMAKE_TO_PATH=System' -y
- choco install vswhere -y
- choco install ninja -y
- choco install python -y
@ -455,6 +454,7 @@ macOS12_Xcode13:
- $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
- $env:Path += ';C:\Program Files\CMake\bin'
- sh CI/before_script.msvc.sh -c $config -p Win64 -v 2019 -k -V -N -b -t -C $multiview -E
- cd MSVC2019_64_Ninja
- .\ActivateMSVC.ps1
@ -537,7 +537,6 @@ macOS12_Xcode13:
- choco install git --force --params "/GitAndUnixToolsOnPath" -y
- choco install 7zip -y
- choco install ccache -y
- choco install cmake.install --installargs 'ADD_CMAKE_TO_PATH=System' -y
- choco install vswhere -y
- choco install python -y
- refreshenv
@ -562,6 +561,7 @@ macOS12_Xcode13:
- $env:CCACHE_DIR = "$(Get-Location)\ccache"
- New-Item -Type Directory -Force -Path $env:CCACHE_DIR
- New-Item -Type File -Force -Path MSVC2019_64\.cmake\api\v1\query\codemodel-v2
- $env:Path += ';C:\Program Files\CMake\bin'
- sh CI/before_script.msvc.sh -c $config -p Win64 -v 2019 -k -V -b -t -C $multiview -E
- cd MSVC2019_64
- cmake --build . --config $config