|
12 | 12 |
|
13 | 13 | jobs: |
14 | 14 | # builds Weld snapshot, downloads WFLY and upgrades it, prepares ENV variable |
15 | | - build-jdk11: |
16 | | - name: "Initial JDK 11 Weld Build + WildFly patch" |
| 15 | + initial-build: |
| 16 | + name: "Initial JDK 17 Weld Build + WildFly patch" |
17 | 17 | runs-on: ubuntu-latest |
18 | 18 | steps: |
19 | 19 | - uses: actions/checkout@v4 |
20 | 20 | - name: Set up JDK |
21 | 21 | |
22 | 22 | with: |
23 | | - java-version: 11 |
| 23 | + java-version: 17 |
24 | 24 | distribution: 'temurin' |
25 | 25 | - name: Download WildFly |
26 | 26 | run: | |
@@ -74,15 +74,12 @@ jobs: |
74 | 74 | incontainer-tests: |
75 | 75 | name: "Weld In-container Tests - JDK ${{matrix.java.name}}" |
76 | 76 | runs-on: ubuntu-latest |
77 | | - needs: build-jdk11 |
| 77 | + needs: initial-build |
78 | 78 | timeout-minutes: 120 |
79 | 79 | strategy: |
80 | 80 | fail-fast: false |
81 | 81 | matrix: |
82 | 82 | java: |
83 | | - - { name: "11", |
84 | | - java-version: 11, |
85 | | - } |
86 | 83 | - { |
87 | 84 | name: "17", |
88 | 85 | java-version: 17, |
@@ -145,15 +142,12 @@ jobs: |
145 | 142 | CDI-TCK: |
146 | 143 | name: "CDI TCK - JDK ${{matrix.java.name}}" |
147 | 144 | runs-on: ubuntu-latest |
148 | | - needs: build-jdk11 |
| 145 | + needs: initial-build |
149 | 146 | timeout-minutes: 120 |
150 | 147 | strategy: |
151 | 148 | fail-fast: false |
152 | 149 | matrix: |
153 | 150 | java: |
154 | | - - { name: "11", |
155 | | - java-version: 11, |
156 | | - } |
157 | 151 | - { |
158 | 152 | name: "17", |
159 | 153 | java-version: 17, |
@@ -216,7 +210,7 @@ jobs: |
216 | 210 | relaxed-mode-test: |
217 | 211 | name: "Relaxed mode testing - JDK ${{matrix.java.name}}" |
218 | 212 | runs-on: ubuntu-latest |
219 | | - needs: build-jdk11 |
| 213 | + needs: initial-build |
220 | 214 | timeout-minutes: 120 |
221 | 215 | strategy: |
222 | 216 | fail-fast: false |
@@ -288,15 +282,12 @@ jobs: |
288 | 282 | no-container-tests: |
289 | 283 | name: "Weld Tests w/o Container - JDK ${{matrix.java.name}}" |
290 | 284 | runs-on: ubuntu-latest |
291 | | - needs: build-jdk11 |
| 285 | + needs: initial-build |
292 | 286 | timeout-minutes: 120 |
293 | 287 | strategy: |
294 | 288 | fail-fast: false |
295 | 289 | matrix: |
296 | 290 | java: |
297 | | - - { name: "11", |
298 | | - java-version: 11, |
299 | | - } |
300 | 291 | - { |
301 | 292 | name: "17", |
302 | 293 | java-version: 17, |
@@ -338,18 +329,18 @@ jobs: |
338 | 329 | name: test-reports-no-container-jdk${{matrix.java.name}} |
339 | 330 | path: 'test-reports.tgz' |
340 | 331 |
|
341 | | - # Weld Examples build and test, only JDK 11 |
| 332 | + # Weld Examples build and test, only one JDK |
342 | 333 | examples-tests: |
343 | | - name: "Weld Examples build and test - JDK 11}" |
| 334 | + name: "Weld Examples build and test - JDK 17}" |
344 | 335 | runs-on: ubuntu-latest |
345 | | - needs: build-jdk11 |
| 336 | + needs: initial-build |
346 | 337 | timeout-minutes: 120 |
347 | 338 | steps: |
348 | 339 | - uses: actions/checkout@v4 |
349 | | - - name: Set up JDK 11 |
| 340 | + - name: Set up JDK |
350 | 341 | |
351 | 342 | with: |
352 | | - java-version: 11 |
| 343 | + java-version: 17 |
353 | 344 | distribution: 'temurin' |
354 | 345 | - name: Download Maven Repo |
355 | 346 | uses: actions/download-artifact@v4 |
@@ -394,15 +385,12 @@ jobs: |
394 | 385 | CDI-TCK-SE: |
395 | 386 | name: "CDI TCK SE - JDK ${{matrix.java.name}}" |
396 | 387 | runs-on: ubuntu-latest |
397 | | - needs: build-jdk11 |
| 388 | + needs: initial-build |
398 | 389 | timeout-minutes: 120 |
399 | 390 | strategy: |
400 | 391 | fail-fast: false |
401 | 392 | matrix: |
402 | 393 | java: |
403 | | - - { name: "11", |
404 | | - java-version: 11, |
405 | | - } |
406 | 394 | - { |
407 | 395 | name: "17", |
408 | 396 | java-version: 17, |
@@ -448,14 +436,14 @@ jobs: |
448 | 436 | weld-se-servlet-coop: |
449 | 437 | name: "Weld SE-Servlet Cooperation" |
450 | 438 | runs-on: ubuntu-latest |
451 | | - needs: build-jdk11 |
| 439 | + needs: initial-build |
452 | 440 | timeout-minutes: 20 |
453 | 441 | steps: |
454 | 442 | - uses: actions/checkout@v4 |
455 | | - - name: Set up JDK 11 |
| 443 | + - name: Set up JDK |
456 | 444 | |
457 | 445 | with: |
458 | | - java-version: 11 |
| 446 | + java-version: 17 |
459 | 447 | distribution: 'temurin' |
460 | 448 | - name: Download Maven Repo |
461 | 449 | uses: actions/download-artifact@v4 |
|
0 commit comments