mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-25 05:47:38 +00:00
Fix ccache
This commit is contained in:
parent
eca37bce38
commit
9bf835e810
2
.github/ccache.sh
vendored
2
.github/ccache.sh
vendored
@ -15,3 +15,5 @@ case $OS in
|
|||||||
unzip -j ccache-*-windows-64.zip '*/ccache.exe'
|
unzip -j ccache-*-windows-64.zip '*/ccache.exe'
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
mkdir ./.ccache
|
||||||
|
./ccache -o compiler_check='%compiler% -dumpmachine; %compiler% -dumpversion'
|
||||||
|
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@ -25,7 +25,7 @@ jobs:
|
|||||||
os: [ ubuntu-latest, windows-latest, macos-latest ]
|
os: [ ubuntu-latest, windows-latest, macos-latest ]
|
||||||
env:
|
env:
|
||||||
NDK_CCACHE: ${{ github.workspace }}/ccache
|
NDK_CCACHE: ${{ github.workspace }}/ccache
|
||||||
CCACHE_DIR: ~/.ccache
|
CCACHE_DIR: ${{ github.workspace }}/.ccache
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Check out
|
- name: Check out
|
||||||
@ -61,7 +61,7 @@ jobs:
|
|||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
~/.ccache
|
${{ github.workspace }}/.ccache
|
||||||
~/.gradle/caches/build-cache-*
|
~/.gradle/caches/build-cache-*
|
||||||
key: ${{ runner.os }}-build-cache-${{ github.sha }}
|
key: ${{ runner.os }}-build-cache-${{ github.sha }}
|
||||||
restore-keys: ${{ runner.os }}-build-cache-
|
restore-keys: ${{ runner.os }}-build-cache-
|
||||||
|
Loading…
x
Reference in New Issue
Block a user