|
1 |
| -name: Test Java Windows zip issue |
| 1 | +name: GraalVM smoke tests |
2 | 2 |
|
3 | 3 | on:
|
4 |
| - push: |
5 |
| - branches: |
6 |
| - - sapMachine |
7 |
| - workflow_dispatch: |
8 |
| - |
| 4 | + pull_request: {} |
| 5 | +permissions: read-all |
9 | 6 | jobs:
|
10 |
| - test-with-v4: |
11 |
| - strategy: |
12 |
| - fail-fast: false |
13 |
| - matrix: |
14 |
| - include: |
15 |
| - - os: windows-latest |
16 |
| - distribution: 'adopt' |
17 |
| - java-version: '17' |
18 |
| - architecture: 'x64' |
19 |
| - - os: windows-latest |
20 |
| - distribution: 'zulu' |
21 |
| - java-version: '11' |
22 |
| - architecture: 'x86' |
23 |
| - - os: self-hosted |
24 |
| - label: win-10-pro-x64 |
25 |
| - distribution: 'zulu' |
26 |
| - java-version: '17' |
27 |
| - architecture: 'x86' |
28 |
| - - os: self-hosted |
29 |
| - label: win-10-pro-x64 |
30 |
| - distribution: 'adopt' |
31 |
| - java-version: '21' |
32 |
| - architecture: 'x64' |
33 |
| - runs-on: ${{ matrix.os }} |
34 |
| - |
35 |
| - steps: |
36 |
| - - name: Checkout code |
37 |
| - uses: actions/checkout@v4 |
| 7 | + build: |
38 | 8 |
|
39 |
| - - name: Set up Java |
40 |
| - uses: actions/setup-java@v4 |
41 |
| - with: |
42 |
| - distribution: ${{ matrix.distribution }} |
43 |
| - java-version: ${{ matrix.java-version }} |
44 |
| - architecture: ${{ matrix.architecture }} |
45 |
| - test-with-fix: |
| 9 | + runs-on: ${{ matrix.os }} |
46 | 10 | strategy:
|
47 | 11 | fail-fast: false
|
48 | 12 | matrix:
|
49 |
| - include: |
50 |
| - - os: windows-latest |
51 |
| - distribution: 'adopt' |
52 |
| - java-version: '11' |
53 |
| - architecture: 'x64' |
54 |
| - - os: windows-latest |
55 |
| - distribution: 'zulu' |
56 |
| - java-version: '11' |
57 |
| - architecture: 'x86' |
58 |
| - - os: self-hosted |
59 |
| - label: win-10-pro-x64 |
60 |
| - distribution: 'zulu' |
61 |
| - java-version: '11' |
62 |
| - architecture: 'x86' |
63 |
| - - os: self-hosted |
64 |
| - label: win-10-pro-x64 |
65 |
| - distribution: 'adopt' |
66 |
| - java-version: '17' |
67 |
| - architecture: 'x64' |
68 |
| - runs-on: ${{ matrix.os }} |
69 |
| - |
70 |
| - steps: |
71 |
| - - name: Checkout code |
72 |
| - uses: actions/checkout@v4 |
| 13 | + os: [ubuntu-20.04, macos-13, windows-2022] |
| 14 | + transport: [native, nio] |
| 15 | + exclude: |
| 16 | + # excludes native on Windows (there's none) |
| 17 | + - os: windows-2022 |
| 18 | + transport: native |
73 | 19 |
|
74 |
| - - name: Set up Java |
75 |
| - uses: priyagupta108/setup-java@fix-windows-archive-extraction |
| 20 | + steps: |
| 21 | + - uses: actions/checkout@v4 |
| 22 | + - name: Set up JDK 1.8 |
| 23 | + uses: actions/setup-java@b36c23c0d998641eff861008f374ee103c25ac73 |
| 24 | + with: |
| 25 | + distribution: 'temurin' |
| 26 | + java-version: '8' |
| 27 | + - name: Set up GraalVM 17 |
| 28 | + uses: actions/setup-java@v4 |
76 | 29 | with:
|
77 |
| - distribution: ${{ matrix.distribution }} |
78 |
| - java-version: ${{ matrix.java-version }} |
79 |
| - architecture: ${{ matrix.architecture }} |
| 30 | + distribution: 'graalvm' |
| 31 | + java-version: '17' |
| 32 | + |
| 33 | + - name: Build with Gradle |
| 34 | + run: ./gradlew :reactor-netty-graalvm-smoke-tests:nativeTest --no-daemon -PforceTransport=${{ matrix.transport }} |
0 commit comments