From 652b1723a97601256c927273fa1b7a0a5dbc4fd4 Mon Sep 17 00:00:00 2001 From: Thibault Deckers Date: Sun, 12 Jul 2020 15:24:29 +0900 Subject: [PATCH] CI: fixes to install NDK and skip tests --- .github/workflows/main.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b80da57b5..3b0746918 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -18,6 +18,11 @@ jobs: with: 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. uses: actions/checkout@v2 @@ -28,8 +33,9 @@ jobs: working-directory: ${{ github.workspace }}/scripts run: ./update_flutter_version.sh - - name: Run the unit tests. - run: flutter test + # `flutter test` fails if test directory is missing + #- name: Run the unit tests. + # run: flutter test - name: Build signed artifacts. # `KEY_JKS` should contain the result of: