mirror of
https://github.com/Mr-Wiseguy/N64Recomp.git
synced 2025-01-14 10:35:21 +00:00
CI: Fix Windows CI after image updates
This commit is contained in:
parent
2a2df89349
commit
ca096fd078
3
.github/workflows/validate.yml
vendored
3
.github/workflows/validate.yml
vendored
|
@ -58,5 +58,8 @@ jobs:
|
||||||
set $env:PATH="$env:USERPROFILE/.cargo/bin;$env:PATH"
|
set $env:PATH="$env:USERPROFILE/.cargo/bin;$env:PATH"
|
||||||
$cpuCores = (Get-CimInstance -ClassName Win32_Processor).NumberOfLogicalProcessors
|
$cpuCores = (Get-CimInstance -ClassName Win32_Processor).NumberOfLogicalProcessors
|
||||||
|
|
||||||
|
# remove LLVM from PATH so it doesn't overshadow the one provided by VS
|
||||||
|
$env:PATH = ($env:PATH -split ';' | Where-Object { $_ -ne 'C:\Program Files\LLVM\bin' }) -join ';'
|
||||||
|
|
||||||
cmake -DCMAKE_BUILD_TYPE=${{ matrix.type }} -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_MAKE_PROGRAM=ninja -G Ninja -S . -B cmake-build
|
cmake -DCMAKE_BUILD_TYPE=${{ matrix.type }} -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_MAKE_PROGRAM=ninja -G Ninja -S . -B cmake-build
|
||||||
cmake --build cmake-build --config ${{ matrix.type }} --target N64Recomp -j $cpuCores
|
cmake --build cmake-build --config ${{ matrix.type }} --target N64Recomp -j $cpuCores
|
||||||
|
|
Loading…
Reference in a new issue