From 4c6cff63910891b079f688b321a647bc11f7fe55 Mon Sep 17 00:00:00 2001 From: githejie Date: Fri, 16 Aug 2024 13:53:10 +0800 Subject: [PATCH] Problem: CI build android on ubuntu-latest failed Solution: Fixed the NDK version to android-ndk-r25 to avoid using unsupported NDK version on ubuntu-latest. --- .github/workflows/CI.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/CI.yaml b/.github/workflows/CI.yaml index f0cb245b..a5946e6a 100644 --- a/.github/workflows/CI.yaml +++ b/.github/workflows/CI.yaml @@ -34,6 +34,7 @@ jobs: POLLER: poll - os: ubuntu-latest BUILD_TYPE: android + NDK_VERSION: android-ndk-r25 DRAFT: disabled - os: ubuntu-latest BUILD_TYPE: coverage @@ -148,6 +149,8 @@ jobs: USE_NSS: ${{ matrix.USE_NSS }} VMCI: ${{ matrix.VMCI }} POLLER: ${{ matrix.POLLER }} + NDK_VERSION: ${{ matrix.NDK_VERSION }} + ANDROID_NDK_ROOT: /tmp/${{ matrix.NDK_VERSION }} steps: - name: Add msbuild to PATH uses: microsoft/setup-msbuild@v1.0.2