mirror of
https://github.com/haraldk/TwelveMonkeys.git
synced 2026-05-28 00:00:03 -04:00
#1234: Simplify build matrix
This commit is contained in:
+10
-12
@@ -17,7 +17,10 @@ jobs:
|
|||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
os: [ ubuntu-latest, windows-latest, macos-latest ]
|
os: [ ubuntu-latest, windows-latest, macos-latest ]
|
||||||
java: [ 11, 17, 21, 25 ]
|
java: [ 8, 11, 17, 21, 25 ]
|
||||||
|
exclude:
|
||||||
|
- os: macos-latest
|
||||||
|
version: 8
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
permissions:
|
permissions:
|
||||||
checks: write
|
checks: write
|
||||||
@@ -38,13 +41,9 @@ jobs:
|
|||||||
report_paths: "**/target/surefire-reports/TEST*.xml"
|
report_paths: "**/target/surefire-reports/TEST*.xml"
|
||||||
check_name: Unit Test Results for OpenJDK ${{ matrix.java }} on ${{ matrix.os }}
|
check_name: Unit Test Results for OpenJDK ${{ matrix.java }} on ${{ matrix.os }}
|
||||||
|
|
||||||
test-jdk8:
|
test-jdk8-macos:
|
||||||
name: Test OpenJDK 8 on ${{ matrix.os }}
|
name: Test OpenJDK 8 on macos-14
|
||||||
strategy:
|
runs-on: macos-14
|
||||||
fail-fast: false
|
|
||||||
matrix:
|
|
||||||
os: [ ubuntu-latest, windows-latest, macos-14 ]
|
|
||||||
runs-on: ${{ matrix.os }}
|
|
||||||
permissions:
|
permissions:
|
||||||
checks: write
|
checks: write
|
||||||
steps:
|
steps:
|
||||||
@@ -99,13 +98,12 @@ jobs:
|
|||||||
check_name: Unit Test Results for Oracle JDK 8 with KCMS=${{ matrix.kcms }}
|
check_name: Unit Test Results for Oracle JDK 8 with KCMS=${{ matrix.kcms }}
|
||||||
|
|
||||||
javadoc:
|
javadoc:
|
||||||
name: Build JavaDoc
|
name: Build JavaDoc on OpenJDK ${{ matrix.java }}
|
||||||
needs: [ test ]
|
needs: [ test ]
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [ ubuntu-latest ]
|
java: [8, 11, 25 ] # We only need a few versions here
|
||||||
java: [ 11, 17, 21, 25 ]
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||||
- uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5.2.0
|
- uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5.2.0
|
||||||
@@ -119,7 +117,7 @@ jobs:
|
|||||||
|
|
||||||
release:
|
release:
|
||||||
name: Deploy
|
name: Deploy
|
||||||
needs: [ test, test-jdk8, test-oracle, javadoc ]
|
needs: [ test, test-jdk8-macos, test-oracle, javadoc ]
|
||||||
if: github.ref == 'refs/heads/master' # only perform on latest master
|
if: github.ref == 'refs/heads/master' # only perform on latest master
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
Reference in New Issue
Block a user