-
Notifications
You must be signed in to change notification settings - Fork 47
38 lines (36 loc) · 1.1 KB
/
test-java-os-mix.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: HTML Sanity Check Matrix Test
on:
push:
workflow_dispatch: {}
jobs:
test-java-os-mix:
strategy:
matrix:
os-version: [ ubuntu-latest, macos-14, windows-latest ]
java-version: [ 8, 11, 17, 21 ]
runs-on: ${{ matrix.os-version }}
steps:
- uses: actions/checkout@v3
- name: Download Artifacts
uses: dawidd6/action-download-artifact@v3
with:
workflow: gradle-build.yml
name: maven-repo
path: build/maven-repo
- uses: actions/setup-java@v3
with:
distribution: temurin
# Always build with JDK 8 initially
java-version: ${{ matrix.java-version }}
- name: Execute integration test (on Unixes)
# if: ${{ runner.os == 'Linux' || runner.os == 'macOS' }}
run: |
uname -a
./gradlew --version
./gradlew integrationTestOnly --scan
# - name: Execute integration test (on Windows)
# if: ${{ runner.os == 'Windows' }}
# run: |
# uname -a
# gradlew --version
# gradlew integrationTestOnly --scan