Skip to content

Commit

Permalink
Fixing CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
Craigacp committed Oct 25, 2024
1 parent 9beff9b commit 67f208b
Show file tree
Hide file tree
Showing 4 changed files with 64 additions and 12 deletions.
19 changes: 16 additions & 3 deletions .github/workflows/maven-macos-aarch64.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This workflow will build a Java project with Maven
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven

name: Tribuo CI (macOS aarch64, Java SE 17, 21, 22)
name: Tribuo CI (macOS aarch64, Java SE 17, 21, 23)

on:
push:
Expand All @@ -15,14 +15,27 @@ jobs:
strategy:
matrix:
# test against supported LTS versions and latest
java: [ 17, 21, 22 ]
java: [ 21, 23 ]
name: macOS Java SE ${{ matrix.java }}
steps:
- uses: actions/checkout@v4
- name: Setup Oracle Java SE
uses: oracle-actions/setup-java@main
uses: oracle-actions/setup-java@v1.4.0
with:
website: oracle.com
release: ${{ matrix.java }}
- name: Build with Maven
run: mvn -B package --file pom.xml -Parm
build-17:
runs-on: macos-14
name: macOS Java SE 17
steps:
- uses: actions/checkout@v4
- name: Setup Oracle Java SE
uses: oracle-actions/setup-java@v1.4.0
with:
website: oracle.com
release: 17
version: 17.0.12
- name: Build with Java 17
run: mvn -B package --file pom.xml -Parm
19 changes: 16 additions & 3 deletions .github/workflows/maven-macos-x64.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This workflow will build a Java project with Maven
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven

name: Tribuo CI (macOS x86_64, Java SE 17, 21, 22)
name: Tribuo CI (macOS x86_64, Java SE 17, 21, 23)

on:
push:
Expand All @@ -15,14 +15,27 @@ jobs:
strategy:
matrix:
# test against supported LTS versions and latest
java: [ 17, 21, 22 ]
java: [ 21, 23 ]
name: macOS Java SE ${{ matrix.java }}
steps:
- uses: actions/checkout@v4
- name: Setup Oracle Java SE
uses: oracle-actions/setup-java@v1
uses: oracle-actions/setup-java@v1.4.0
with:
website: oracle.com
release: ${{ matrix.java }}
- name: Build with Maven
run: mvn -B package --file pom.xml
build-17:
runs-on: macos-13
name: macOS Java SE 17
steps:
- uses: actions/checkout@v4
- name: Setup Oracle Java SE
uses: oracle-actions/setup-java@v1.4.0
with:
website: oracle.com
release: 17
version: 17.0.12
- name: Build with Java 17
run: mvn -B package --file pom.xml
19 changes: 16 additions & 3 deletions .github/workflows/maven-ubuntu.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This workflow will build a Java project with Maven
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven

name: Tribuo CI (Ubuntu x86_64, Java SE 17, 21, 22)
name: Tribuo CI (Ubuntu x86_64, Java SE 17, 21, 23)

on:
push:
Expand All @@ -15,14 +15,27 @@ jobs:
strategy:
matrix:
# test against supported LTS versions and latest
java: [ 17, 21, 22 ]
java: [ 21, 23 ]
name: Ubuntu Java SE ${{ matrix.java }}
steps:
- uses: actions/checkout@v4
- name: Setup Oracle Java SE
uses: oracle-actions/setup-java@v1
uses: oracle-actions/setup-java@v1.4.0
with:
website: oracle.com
release: ${{ matrix.java }}
- name: Build with Maven
run: mvn -B package --file pom.xml
build-17:
runs-on: ubuntu-latest
name: macOS Java SE 17
steps:
- uses: actions/checkout@v4
- name: Setup Oracle Java SE
uses: oracle-actions/setup-java@v1.4.0
with:
website: oracle.com
release: 17
version: 17.0.12
- name: Build with Java 17
run: mvn -B package --file pom.xml
19 changes: 16 additions & 3 deletions .github/workflows/maven-windows.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This workflow will build a Java project with Maven
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven

name: Tribuo CI (Windows x86_64, Java SE 17, 21, 22)
name: Tribuo CI (Windows x86_64, Java SE 17, 21, 23)

on:
push:
Expand All @@ -15,14 +15,27 @@ jobs:
strategy:
matrix:
# test against supported LTS versions and latest
java: [ 17, 21, 22 ]
java: [ 21, 23 ]
name: Windows Java SE ${{ matrix.java }}
steps:
- uses: actions/checkout@v4
- name: Setup Oracle Java SE
uses: oracle-actions/setup-java@v1
uses: oracle-actions/setup-java@v1.4.0
with:
website: oracle.com
release: ${{ matrix.java }}
- name: Build with Maven
run: mvn -B package --file pom.xml
build-17:
runs-on: windows-latest
name: macOS Java SE 17
steps:
- uses: actions/checkout@v4
- name: Setup Oracle Java SE
uses: oracle-actions/setup-java@v1.4.0
with:
website: oracle.com
release: 17
version: 17.0.12
- name: Build with Java 17
run: mvn -B package --file pom.xml

0 comments on commit 67f208b

Please sign in to comment.