Skip to content

Commit

Permalink
Bring back Android SDK setup
Browse files Browse the repository at this point in the history
  • Loading branch information
oluiscabral committed Dec 12, 2024
1 parent 6730418 commit 68f478f
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,17 +56,18 @@ jobs:
- name: Set up Gradle
uses: gradle/actions/setup-gradle@v3

- name: Set up Android SDK
uses: android-actions/setup-android@v3

- name: Set up Android NDK
id: setup-ndk
uses: nttld/setup-ndk@v1
with:
link-to-sdk: true
ndk-version: r28-beta1

- name: Java tests
run: gradle test
working-directory: ./java
env:
ANDROID_NDK_HOME: ${{ steps.setup-ndk.outputs.ndk-path }}

windows:
name: Test on Windows
Expand Down Expand Up @@ -101,17 +102,18 @@ jobs:
- name: Set up Gradle
uses: gradle/actions/setup-gradle@v3

- name: Set up Android SDK
uses: android-actions/setup-android@v3

- name: Set up Android NDK
id: setup-ndk
uses: nttld/setup-ndk@v1
with:
link-to-sdk: true
ndk-version: r28-beta1

- name: Java tests
run: gradle test
working-directory: ./java
env:
ANDROID_NDK_HOME: ${{ steps.setup-ndk.outputs.ndk-path }}

mac-intel:
name: Test on macOS Intel
Expand Down Expand Up @@ -146,14 +148,15 @@ jobs:
- name: Set up Gradle
uses: gradle/actions/setup-gradle@v3

- name: Set up Android SDK
uses: android-actions/setup-android@v3

- name: Set up Android NDK
id: setup-ndk
uses: nttld/setup-ndk@v1
with:
link-to-sdk: true
ndk-version: r28-beta1

- name: Java tests
run: gradle test
working-directory: ./java
env:
ANDROID_NDK_HOME: ${{ steps.setup-ndk.outputs.ndk-path }}

0 comments on commit 68f478f

Please sign in to comment.