CI: fixes to install NDK and skip tests
This commit is contained in:
parent
3b31439c2e
commit
652b1723a9
1 changed files with 8 additions and 2 deletions
10
.github/workflows/main.yml
vendored
10
.github/workflows/main.yml
vendored
|
@ -18,6 +18,11 @@ jobs:
|
||||||
with:
|
with:
|
||||||
channel: 'stable'
|
channel: 'stable'
|
||||||
|
|
||||||
|
# Workaround for this Android Gradle Plugin issue (supposedly fixed in AGP 4.1):
|
||||||
|
# https://issuetracker.google.com/issues/144111441
|
||||||
|
- name: Install NDK
|
||||||
|
run: echo "y" | sudo /usr/local/lib/android/sdk/tools/bin/sdkmanager --install "ndk;20.0.5594570" --sdk_root=${ANDROID_SDK_ROOT}
|
||||||
|
|
||||||
- name: Clone the repository.
|
- name: Clone the repository.
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
|
@ -28,8 +33,9 @@ jobs:
|
||||||
working-directory: ${{ github.workspace }}/scripts
|
working-directory: ${{ github.workspace }}/scripts
|
||||||
run: ./update_flutter_version.sh
|
run: ./update_flutter_version.sh
|
||||||
|
|
||||||
- name: Run the unit tests.
|
# `flutter test` fails if test directory is missing
|
||||||
run: flutter test
|
#- name: Run the unit tests.
|
||||||
|
# run: flutter test
|
||||||
|
|
||||||
- name: Build signed artifacts.
|
- name: Build signed artifacts.
|
||||||
# `KEY_JKS` should contain the result of:
|
# `KEY_JKS` should contain the result of:
|
||||||
|
|
Loading…
Reference in a new issue