From 32812683e4d3530f4d2c1ab9012226138ccd13f3 Mon Sep 17 00:00:00 2001 From: Matt Borgerson <contact@mborgerson.com> Date: Tue, 28 Apr 2020 01:24:20 -0700 Subject: [PATCH] ci: Disable ccache for Windows for now --- .github/workflows/build.yml | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ac44fddd3a..f6e8ea3baa 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -46,24 +46,25 @@ jobs: 7z x -y msys64.7z "-oC:\tools\" echo "Updating MSYS2 environment..." C:\tools\msys64\usr\bin\bash.exe -lc "pacman -Syu --noconfirm" - - name: Initialize Compiler Cache - id: cache - uses: actions/cache@v1 - with: - path: C:\tools\msys64\tmp\xemu-ccache - key: cache-${{ runner.os }}-${{ matrix.configuration }}-${{ github.sha }} - restore-keys: cache-${{ runner.os }}-${{ matrix.configuration }}- + # - name: Initialize Compiler Cache + # id: cache + # uses: actions/cache@v1 + # with: + # path: C:\tools\msys64\tmp\xemu-ccache + # key: cache-${{ runner.os }}-${{ matrix.configuration }}-${{ github.sha }} + # restore-keys: cache-${{ runner.os }}-${{ matrix.configuration }}- - name: Compile run: | C:\tools\msys64\usr\bin\bash.exe -lc @" set -e cd `$GITHUB_WORKSPACE - export CCACHE_DIR=/tmp/xemu-ccache - export CCACHE_MAXSIZE=250M - export PATH="/usr/lib/ccache/bin:/mingw64/bin:`$PATH" + # export CCACHE_DIR=/tmp/xemu-ccache + # export CCACHE_MAXSIZE=250M + # export PATH="/usr/lib/ccache/bin:/mingw64/bin:`$PATH" + export PATH="/mingw64/bin:`$PATH" ./build.sh ${{ env.BUILD_PARAM }} - echo -e '\nCompiler Cache Stats:' - ccache -s -c + # echo -e '\nCompiler Cache Stats:' + # ccache -s -c "@ 7z a ${{env.ARTIFACT_NAME}} .\dist\* - name: Upload Build Artifact