[ci] update ccache config (#998)
This commit is contained in:
parent
e9faf9f76d
commit
9d56cab7a4
|
|
@ -61,9 +61,10 @@ jobs:
|
||||||
- name: Install ccache
|
- name: Install ccache
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get install -y ccache
|
sudo apt-get install -y ccache
|
||||||
ccache -o max_size=2G
|
ccache -o max_size=1G
|
||||||
ccache -o hash_dir=false
|
ccache -o hash_dir=false
|
||||||
ccache -o compiler_check=content
|
ccache -o compiler_check='%compiler% -dumpmachine; %compiler% -dumpversion'
|
||||||
|
ccache -zp
|
||||||
- name: Build with Gradle
|
- name: Build with Gradle
|
||||||
env:
|
env:
|
||||||
NDK_CCACHE: ccache
|
NDK_CCACHE: ccache
|
||||||
|
|
@ -76,6 +77,7 @@ jobs:
|
||||||
echo 'org.gradle.jvmargs=-Xmx2048m' >> gradle.properties
|
echo 'org.gradle.jvmargs=-Xmx2048m' >> gradle.properties
|
||||||
echo 'android.native.buildOutput=verbose' >> gradle.properties
|
echo 'android.native.buildOutput=verbose' >> gradle.properties
|
||||||
./gradlew zipRelease zipDebug
|
./gradlew zipRelease zipDebug
|
||||||
|
ccache -s
|
||||||
- name: Prepare artifact
|
- name: Prepare artifact
|
||||||
if: success()
|
if: success()
|
||||||
id: prepareArtifact
|
id: prepareArtifact
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue