Skip to content

Commit

Permalink
add mac-arm64 ci (#84)
Browse files Browse the repository at this point in the history
* add mac-arm64 ci

* add more targets
  • Loading branch information
shuttie authored Jun 2, 2024
1 parent 880a132 commit 7113201
Showing 1 changed file with 34 additions and 4 deletions.
38 changes: 34 additions & 4 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,21 +14,49 @@ jobs:
runs-on: ${{ matrix.platform }}
strategy:
matrix:
java: [11, 17, 21]
platform: [ubuntu-20.04, macos-11, windows-2019]
include:
- jvm: 11
platform: ubuntu-22.04
architecture: x64
- jvm: 17
platform: ubuntu-22.04
architecture: x64
- jvm: 21
platform: ubuntu-22.04
architecture: x64
- jvm: 11
platform: macos-12
architecture: x64
- jvm: 11
platform: macos-14
architecture: aarch64
- jvm: 11
platform: windows-2022
architecture: x64
- jvm: 17
platform: windows-2022
architecture: x64
- jvm: 21
platform: windows-2022
architecture: x64
steps:
- name: install libomp
run: brew install libomp
if: runner.os == 'macOS'

- uses: actions/checkout@v2
with:
lfs: true

- name: Checkout LFS objects
run: git lfs checkout

- name: Set up JDK
uses: actions/setup-java@v1
uses: actions/setup-java@v2
with:
java-version: ${{ matrix.java }}
java-version: ${{ matrix.jvm }}
architecture: ${{ matrix.architecture }}
distribution: 'temurin'

- name: Cache maven packages
uses: actions/cache@v2
Expand All @@ -41,7 +69,9 @@ jobs:
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: Build with Maven
run: mvn -B compile --file pom.xml

- name: Run tests
run: mvn -B test --file pom.xml

0 comments on commit 7113201

Please sign in to comment.