Use cmake 3.21+ (#1758)
This commit is contained in:
parent
0bf0948e9a
commit
8c4c25fc40
|
|
@ -59,9 +59,9 @@ jobs:
|
||||||
daemon/build/.lto-cache
|
daemon/build/.lto-cache
|
||||||
key: native-cache-${{ github.sha }}
|
key: native-cache-${{ github.sha }}
|
||||||
restore-keys: native-cache-
|
restore-keys: native-cache-
|
||||||
- name: Install ccache
|
- name: Install dep
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get install -y ccache
|
sudo apt-get install -y ccache ninja-build
|
||||||
ccache -o max_size=1G
|
ccache -o max_size=1G
|
||||||
ccache -o hash_dir=false
|
ccache -o hash_dir=false
|
||||||
ccache -o compiler_check='%compiler% -dumpmachine; %compiler% -dumpversion'
|
ccache -o compiler_check='%compiler% -dumpmachine; %compiler% -dumpversion'
|
||||||
|
|
@ -75,6 +75,8 @@ jobs:
|
||||||
echo 'org.gradle.vfs.watch=true' >> gradle.properties
|
echo 'org.gradle.vfs.watch=true' >> gradle.properties
|
||||||
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
|
||||||
|
ln -s $(which ninja) $(dirname $(which cmake)) # https://issuetracker.google.com/issues/206099937
|
||||||
|
echo "cmake.dir=$(dirname $(dirname $(which cmake)))" >> local.properties
|
||||||
./gradlew zipAll
|
./gradlew zipAll
|
||||||
ccache -s
|
ccache -s
|
||||||
- name: Prepare artifact
|
- name: Prepare artifact
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue