Skip to content

Commit

Permalink
ci: fix: runner cmake version
Browse files Browse the repository at this point in the history
  • Loading branch information
cinit committed Nov 27, 2024
1 parent 90008b5 commit 549be1d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/pr_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ jobs:
mkdir -p "$ANDROID_HOME/licenses/"
echo > "$ANDROID_HOME/licenses/android-sdk-license"
echo -n 24333f8a63b6825ea9c5514f83c2829b004d1fee > "$ANDROID_HOME/licenses/android-sdk-license"
$ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager "cmake;3.31.0"
echo "sdk.dir=${ANDROID_HOME}" > local.properties
- name: Setup Gradle
Expand All @@ -78,6 +79,7 @@ jobs:
echo 'org.gradle.parallel=true' >> gradle.properties
echo 'org.gradle.vfs.watch=true' >> gradle.properties
sed -i 's/org.gradle.configuration-cache=true//g' gradle.properties
echo 'qauxv.override.ninja.path=/usr/bin/ninja' >> local.properties
./gradlew :app:packageDebug
ccache -s
env:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/push_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ jobs:
mkdir -p "$ANDROID_HOME/licenses/"
echo > "$ANDROID_HOME/licenses/android-sdk-license"
echo -n 24333f8a63b6825ea9c5514f83c2829b004d1fee > "$ANDROID_HOME/licenses/android-sdk-license"
$ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager "cmake;3.31.0"
echo "sdk.dir=${ANDROID_HOME}" > local.properties
- name: Install ccache
run: |
Expand All @@ -77,6 +78,7 @@ jobs:
run: |
echo 'org.gradle.parallel=true' >> gradle.properties
echo 'org.gradle.vfs.watch=true' >> gradle.properties
echo 'qauxv.override.ninja.path=/usr/bin/ninja' >> local.properties
sed -i 's/org.gradle.configuration-cache=true//g' gradle.properties
echo 'buildCache { local { removeUnusedEntriesAfterDays = 1 } }' >> settings.gradle.kts
echo ${{ secrets.SIGN_KEYSTORE_BASE64 }} | base64 -d > keystore.jks
Expand Down

0 comments on commit 549be1d

Please sign in to comment.