mirror of https://github.com/xemu-project/xemu.git
ci: Disable ccache for Windows for now
This commit is contained in:
parent
5bf7bc2bcf
commit
32812683e4
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue