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.
This commit is contained in:
githejie 2024-08-16 13:53:10 +08:00 committed by Luca Boccassi
parent b71434140e
commit 4c6cff6391

View File

@ -34,6 +34,7 @@ jobs:
POLLER: poll POLLER: poll
- os: ubuntu-latest - os: ubuntu-latest
BUILD_TYPE: android BUILD_TYPE: android
NDK_VERSION: android-ndk-r25
DRAFT: disabled DRAFT: disabled
- os: ubuntu-latest - os: ubuntu-latest
BUILD_TYPE: coverage BUILD_TYPE: coverage
@ -148,6 +149,8 @@ jobs:
USE_NSS: ${{ matrix.USE_NSS }} USE_NSS: ${{ matrix.USE_NSS }}
VMCI: ${{ matrix.VMCI }} VMCI: ${{ matrix.VMCI }}
POLLER: ${{ matrix.POLLER }} POLLER: ${{ matrix.POLLER }}
NDK_VERSION: ${{ matrix.NDK_VERSION }}
ANDROID_NDK_ROOT: /tmp/${{ matrix.NDK_VERSION }}
steps: steps:
- name: Add msbuild to PATH - name: Add msbuild to PATH
uses: microsoft/setup-msbuild@v1.0.2 uses: microsoft/setup-msbuild@v1.0.2