-
Notifications
You must be signed in to change notification settings - Fork 12
73 lines (73 loc) · 2.42 KB
/
weekly-with-registry.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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
name: "Weekly Build with All Extensions from Registry"
on:
workflow_dispatch:
schedule:
- cron: '0 18 * * 6'
jobs:
linux-build-released-jvm:
name: Linux - JVM build - released Quarkus
runs-on: ubuntu-latest
env:
TESTCONTAINERS_RYUK_DISABLED: true
strategy:
matrix:
java: [ 17 ]
steps:
- uses: actions/checkout@v3
- name: Install JDK ${{ matrix.java }}
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
check-latest: true
cache: 'maven'
- name: Run Test Suite
run: mvn -ntp -s .github/mvn-settings.xml clean test -Dts.limit-extensions=200 -Dts.extensions-in-groups-of=2
- name: Zip Artifacts
if: failure()
run: |
zip -r artifacts-linux-jvm${{ matrix.java }}.zip . -i '**/*-reports/*.xml' '**/*.log'
- name: Archive artifacts
if: failure()
uses: actions/upload-artifact@v1
with:
name: ci-artifacts
path: artifacts-linux-jvm${{ matrix.java }}.zip
linux-build-released-native:
name: Linux - Native build - released Quarkus
runs-on: ubuntu-latest
env:
TESTCONTAINERS_RYUK_DISABLED: true
strategy:
matrix:
java: [ 17 ]
graalvm-version: ["mandrel-23.0.1.2-Final"]
steps:
- uses: actions/checkout@v3
- name: Install JDK ${{ matrix.java }}
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
check-latest: true
cache: 'maven'
- name: Setup GraalVM
id: setup-graalvm
uses: graalvm/setup-graalvm@v1
with:
version: ${{ matrix.graalvm-version }}
java-version: ${{ matrix.java }}
components: 'native-image'
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Run Test Suite
run: mvn -ntp -e -s .github/mvn-settings.xml clean test -Dts.limit-extensions=20 -Dts.extensions-in-groups-of=4 -Dts.verify-native-mode=true -Ddisable-parallel
- name: Zip Artifacts
if: failure()
run: |
zip -r artifacts-linux-native${{ matrix.java }}.zip . -i '**/*-reports/*.xml' '**/*.log'
- name: Archive artifacts
if: failure()
uses: actions/upload-artifact@v1
with:
name: ci-artifacts
path: artifacts-linux-native${{ matrix.java }}.zip