From 2aabd54e6aa772fab4b302ad1ec2befa81f82aa2 Mon Sep 17 00:00:00 2001 From: TellowKrinkle Date: Sun, 14 Aug 2022 16:58:49 -0500 Subject: [PATCH] GHActions: Disable buildcache on windows Not compatible with PDB --- .github/workflows/windows_build_wx.yml | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/.github/workflows/windows_build_wx.yml b/.github/workflows/windows_build_wx.yml index 9b765978f9..918c421b46 100644 --- a/.github/workflows/windows_build_wx.yml +++ b/.github/workflows/windows_build_wx.yml @@ -38,11 +38,6 @@ jobs: timeout-minutes: 60 env: POWERSHELL_TELEMETRY_OPTOUT: 1 - BUILDCACHE_COMPRESS_FORMAT: ZSTD - BUILDCACHE_COMPRESS_LEVEL: 9 - BUILDCACHE_MAX_CACHE_SIZE: 536870912 # 512MB - BUILDCACHE_DIRECT_MODE: true - BUILDCACHE_LOG_FILE: ${{ github.workspace }}\buildcache.log steps: - name: Checkout Repository @@ -65,12 +60,6 @@ jobs: PR_SHA: ${{ github.event.pull_request.head.sha }} run: ./.github/workflows/scripts/common/name-artifacts.sh - - name: Setup Buildcache - if: inputs.configuration == 'CMake' # TODO: buildcache on VS - uses: mikehardy/buildcache-action@v1.3.0 - with: - cache_key: ${{ inputs.os }} ${{ inputs.platform }} ${{ inputs.configuration }} - - name: Setup msbuild if: inputs.configuration != 'CMake' uses: microsoft/setup-msbuild@v1 @@ -89,7 +78,7 @@ jobs: if "${{ inputs.platform }}"=="Win32" (SET vcvars=vcvarsamd64_x86.bat) else (SET vcvars=vcvars64.bat) call "%ProgramFiles(x86)%\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\%vcvars%" echo ::set-output name=vcvars::%vcvars% - cmake . -B build -DCMAKE_BUILD_TYPE=Release -DLTO_PCSX2_CORE=ON -G Ninja -DCMAKE_C_COMPILER_LAUNCHER=..\buildcache\bin\buildcache.exe -DCMAKE_CXX_COMPILER_LAUNCHER=..\buildcache\bin\buildcache.exe -DCMAKE_DISABLE_PRECOMPILE_HEADERS=ON + cmake . -B build -DCMAKE_BUILD_TYPE=Release -DLTO_PCSX2_CORE=ON -G Ninja - name: Build PCSX2 shell: cmd