1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-05-28 12:41:34 +00:00

Use installed CMake for Windows CI jobs

This commit is contained in:
elsid 2023-03-15 01:08:28 +01:00
parent 35b2292e61
commit 00d0c81df9
No known key found for this signature in database
GPG key ID: 4DE04C198CBA7625

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