From ca096fd0783affa4803e15d619fcce23c57e04bf Mon Sep 17 00:00:00 2001 From: dcvz Date: Fri, 7 Jun 2024 10:42:47 +0200 Subject: [PATCH] CI: Fix Windows CI after image updates --- .github/workflows/validate.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 82ce7d9..6abc19f 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -57,6 +57,9 @@ jobs: # enable ccache set $env:PATH="$env:USERPROFILE/.cargo/bin;$env:PATH" $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 --build cmake-build --config ${{ matrix.type }} --target N64Recomp -j $cpuCores