Skip to content

Commit

Permalink
Add MacOS aarch64 to assemble / precommit since we rolled out the sup…
Browse files Browse the repository at this point in the history
…port for such distribution

Signed-off-by: Andriy Redko <[email protected]>
  • Loading branch information
reta committed Aug 2, 2024
1 parent d4e7766 commit 9e0f0e5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/assemble.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
strategy:
matrix:
java: [ 11, 17, 21 ]
os: [ubuntu-latest, windows-latest, macos-13]
os: [ubuntu-latest, windows-latest, macos-latest, macos-13]
steps:
- uses: actions/checkout@v4
- name: Set up JDK ${{ matrix.java }}
Expand All @@ -18,7 +18,7 @@ jobs:
distribution: temurin
- name: Setup docker (missing on MacOS)
id: setup_docker
if: runner.os == 'macos'
if: runner.os == 'macos' && runner.arch != 'arm64'
uses: douglascamata/setup-docker-macos-action@main
continue-on-error: true
with:
Expand All @@ -37,3 +37,7 @@ jobs:
if: runner.os == 'macos' && steps.setup_docker.outcome == 'success'
run: |
./gradlew assemble --parallel --no-build-cache -PDISABLE_BUILD_CACHE
- name: Run Gradle (assemble)
if: runner.os == 'macos' && runner.arch == 'arm64'
run: |
./gradlew assemble --parallel --no-build-cache -PDISABLE_BUILD_CACHE
2 changes: 1 addition & 1 deletion .github/workflows/precommit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
strategy:
matrix:
java: [ 11, 17, 21 ]
os: [ubuntu-latest, windows-latest, macos-13]
os: [ubuntu-latest, windows-latest, macos-latest, macos-13]
steps:
- uses: actions/checkout@v4
- name: Set up JDK ${{ matrix.java }}
Expand Down

0 comments on commit 9e0f0e5

Please sign in to comment.