Skip to content

Commit

Permalink
Install android SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
tulir committed Feb 25, 2025
1 parent 61d3f70 commit cf6b36d
Showing 1 changed file with 29 additions and 15 deletions.
44 changes: 29 additions & 15 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,21 +20,21 @@ jobs:
fail-fast: true
matrix:
include:
- target: aarch64-apple-ios
runs-on: macos-latest
- target: aarch64-apple-ios-sim
runs-on: macos-latest
- target: x86_64-apple-ios
runs-on: macos-latest

- target: x86_64-apple-darwin
runs-on: macos-latest
- target: aarch64-apple-darwin
runs-on: macos-latest
- target: x86_64-unknown-linux-gnu
runs-on: ubuntu-latest
- target: x86_64-pc-windows-gnu
runs-on: windows-latest
# - target: aarch64-apple-ios
# runs-on: macos-latest
# - target: aarch64-apple-ios-sim
# runs-on: macos-latest
# - target: x86_64-apple-ios
# runs-on: macos-latest
#
# - target: x86_64-apple-darwin
# runs-on: macos-latest
# - target: aarch64-apple-darwin
# runs-on: macos-latest
# - target: x86_64-unknown-linux-gnu
# runs-on: ubuntu-latest
# - target: x86_64-pc-windows-gnu
# runs-on: windows-latest

- target: aarch64-linux-android
runs-on: ubuntu-latest
Expand All @@ -59,6 +59,20 @@ jobs:
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}

- name: Set up JDK 17
if: contains(matrix.target, 'android')
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
cache: 'gradle'

- name: Setup Android SDK
if: contains(matrix.target, 'android')
uses: android-actions/setup-android@v3
with:
packages: 'tools platform-tools ndk;26.1.10909125'

- name: Install winget for Windows
if: runner.os == 'Windows'
uses: Cyberboss/install-winget@v1
Expand Down

0 comments on commit cf6b36d

Please sign in to comment.