Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix daily CI job #101

Merged
merged 3 commits into from
Mar 2, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/daily_runner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
options: --name=runner
strategy:
matrix:
android_api: [29,30]
android_api: [{ "api": 30, "build_tools": "30.0.3" }, { "api": 31, "build_tools": "32.0.0" }]
android_ndk: ["--android-ndk"]
steps:
- name: Checkout
Expand Down
4 changes: 3 additions & 1 deletion ci_cd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ set -e
# Usage of this script
program_name=$0
usage () {
echo "usage: $program_name [--android-api 29] [--build] [--test]"
echo "usage: $program_name [--android-api 29] [--build-tools "29.0.3"] [--build] [--test]"
echo " --android-api <androidVersion> Use specific Android version from \`sdkmanager --list\`"
echo " --build-tools <version> Use specific build tools version"
echo " --android-ndk Install Android NDK"
Expand Down Expand Up @@ -42,10 +42,12 @@ while true; do
done

if [ -z "$android_api" ]; then
echo "Missing --android-api parameter"
usage
fi

if [ -z "$android_build_tools" ]; then
echo "Missing --build-tools parameter"
usage
fi

Expand Down