From 6f4e3d3d653675fd14596da89fb8c964759de34b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ole=20Andr=C3=A9=20Vadla=20Ravn=C3=A5s?= Date: Fri, 6 Sep 2024 21:36:18 +0200 Subject: [PATCH] ci: Use the appropriate Android NDK --- .github/workflows/ci.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cd18c7de3..a94aff95b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -186,6 +186,15 @@ jobs: uses: actions/checkout@v4 with: submodules: recursive + - uses: nttld/setup-ndk@v1 + if: startsWith(matrix.id, 'android-') + id: setup-ndk + with: + ndk-version: r25 + add-to-path: false + - name: Set ANDROID_NDK_ROOT + if: startsWith(matrix.id, 'android-') + run: echo "ANDROID_NDK_ROOT=${{ steps.setup-ndk.outputs.ndk-path }}" >> $GITHUB_ENV - name: Build run: | ./configure --host=${{ matrix.id }} ${{ env.GUM_OPTIONS }}