-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e627187
commit c912078
Showing
1 changed file
with
68 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
jobs: | ||
os-test: | ||
runs-on: ${{ matrix.os }} | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu-latest, windows-latest, macos-latest] | ||
steps: | ||
- name: Setup Chrome | ||
uses: browser-actions/setup-chrome@v1.2.3 | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Set up Java 11 | ||
uses: actions/setup-java@v4 | ||
with: | ||
java-version: '11' | ||
distribution: 'temurin' | ||
- name: Build and test | ||
run: | | ||
bash build_test.sh | ||
- name: Upload test results for review | ||
uses: actions/upload-artifact@v4 | ||
if: always() | ||
with: | ||
name: test-results-${{ runner.os }}-mvn-v${{ matrix.mvn }}-jvm${{ matrix.java }} | ||
path: | | ||
target/build.log | ||
retention-days: 5 | ||
|
||
maven-version-test: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
mvn: ['3.9.8' '3.8.8', '3.6.3'] | ||
java: ['11'] | ||
include: | ||
- mvn: '3.9.8' | ||
java: '21' | ||
- mvn: '3.8.8' | ||
java: '17' | ||
- mvn: '3.6.3' | ||
java: '11' | ||
steps: | ||
- name: Setup Chrome | ||
uses: browser-actions/setup-chrome@v1.2.3 | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Set up Java ${{ matrix.java }} | ||
uses: actions/setup-java@v4 | ||
with: | ||
java-version: ${{ matrix.java }} | ||
distribution: 'temurin' | ||
- name: Set up maven wrapper for specified version | ||
run: | | ||
mvn wrapper:wrapper -Dmaven=${{ matrix.mvn }} | ||
- name: Build and test | ||
run: | | ||
bash build_test.sh | ||
- name: Upload test results for review | ||
uses: actions/upload-artifact@v4 | ||
if: always() | ||
with: | ||
name: test-results-mvn-v${{ matrix.mvn }}-jvm${{ matrix.java }} | ||
path: | | ||
target/build.log | ||
retention-days: 5 |