Skip to content

Commit

Permalink
update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
StRigaud committed Jan 15, 2025
1 parent 53d4c6f commit d434d0c
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,14 @@ on:
branches: [ main ]

jobs:

build:

runs-on: macos-13

strategy:
fail-fast: true
matrix:
java: [8]
os: [macos-13]

runs-on: ${{ matrix.os }}

steps:
- name: Checkout
Expand All @@ -30,5 +29,5 @@ jobs:

- name: Build with Maven
run: |
mvn clean install -U
mvn clean install -U -DskipTests
shell: bash -l {0}
33 changes: 33 additions & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Tests

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
build:
strategy:
fail-fast: true
matrix:
java: [8, 11, 17, 21]
os: [macos-13] # only runner with native OCL device support

runs-on: ${{ matrix.os }}

steps:
- name: Checkout
uses: actions/checkout@v2

- name: Setup Java ${{ matrix.java }}
uses: actions/setup-java@v2
with:
java-version: ${{ matrix.java }}
distribution: 'temurin'
cache: maven

- name: Run tests
run: |
mvn clean test -X
shell: bash -l {0}

0 comments on commit d434d0c

Please sign in to comment.