Skip to content

Commit

Permalink
Merge pull request #671 from jamesmudd/jamesmudd-patch-1
Browse files Browse the repository at this point in the history
Add ARM64 GH runners
  • Loading branch information
jamesmudd authored Jan 17, 2025
2 parents 244a68a + dfbdbf5 commit 7d63c4a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 14 deletions.
15 changes: 2 additions & 13 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,27 +14,16 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ 'macos-latest', 'ubuntu-latest', 'windows-latest', ['self-hosted', 'ARM64'] ]
os: [ 'macos-latest', 'ubuntu-latest', 'windows-latest', 'ubuntu-24.04-arm']
java: [ '8', '11', '17', '21' ]

steps:
- uses: actions/checkout@v4

- name: Set up JDK (x64)
- name: Set up JDK
uses: actions/setup-java@v4
if: runner.arch != 'ARM64' && runner.os != 'Linux'
with:
java-version: ${{ matrix.java }}
architecture: ${{ runner.arch }}
distribution: 'temurin'
cache: 'gradle'

- name: Set up JDK (arm64)
uses: actions/setup-java@v4
if: runner.arch == 'ARM64' && runner.os == 'Linux'
with:
java-version: ${{ matrix.java }}
architecture: 'aarch64'
distribution: 'zulu'
cache: 'gradle'

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ 'macos-latest', 'ubuntu-latest', 'windows-latest', ['self-hosted', 'ARM64'] ]
os: [ 'macos-latest', 'ubuntu-latest', 'windows-latest', 'ubuntu-24.04-arm']
java: [ '8', '11', '17', '21' ]

steps:
Expand Down

0 comments on commit 7d63c4a

Please sign in to comment.