File tree 3 files changed +29
-20
lines changed
3 files changed +29
-20
lines changed Original file line number Diff line number Diff line change 26
26
with :
27
27
cache-read-only : true
28
28
29
+ test-native :
30
+ uses : ./.github/workflows/reusable-native-tests.yml
31
+ with :
32
+ only-test-native-label : ${{ github.event.label.name == 'test native' }}
33
+
29
34
muzzle :
30
35
uses : ./.github/workflows/reusable-muzzle.yml
31
36
with :
Original file line number Diff line number Diff line change 5
5
# daily at 4:00 UTC
6
6
- cron : " 0 4 * * *"
7
7
workflow_dispatch :
8
- pull_request :
9
- types : [ labeled ]
10
8
11
9
jobs :
12
10
graalvm-native-tests :
13
- if : ${{ github.event.label.name == 'native' || github.event.label.name == 'spring boot starter' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'}}
14
- runs-on : ubuntu-latest
15
- steps :
16
- - uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
17
- - uses : graalvm/setup-graalvm@d72e3dbf5f44eb0b78c4f8ec61a262d8bf9b94af # v1.1.7.1
18
- with :
19
- version : " latest"
20
- java-version : " 17"
21
- components : " native-image"
22
- - name : Running test
23
- run : |
24
- echo "GRAALVM_HOME: $GRAALVM_HOME"
25
- echo "JAVA_HOME: $JAVA_HOME"
26
- java --version
27
- gu --version
28
- native-image --version
29
- ./gradlew nativeTest
11
+ uses : ./.github/workflows/reusable-native-tests
30
12
31
13
workflow-notification :
32
14
needs :
33
15
- graalvm-native-tests
34
- if : github.event_name == 'schedule'
35
16
uses : ./.github/workflows/reusable-workflow-notification.yml
36
17
with :
37
18
success : ${{ needs.build.result == 'success' }}
Original file line number Diff line number Diff line change
1
+ name : Reusable - Native tests
2
+
3
+ on :
4
+ workflow_call :
5
+
6
+ jobs :
7
+ graalvm-native-tests :
8
+ runs-on : ubuntu-latest
9
+ steps :
10
+ - uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
11
+ - uses : graalvm/setup-graalvm@d72e3dbf5f44eb0b78c4f8ec61a262d8bf9b94af # v1.1.7.1
12
+ with :
13
+ version : " latest"
14
+ java-version : " 17"
15
+ components : " native-image"
16
+ - name : Running test
17
+ run : |
18
+ echo "GRAALVM_HOME: $GRAALVM_HOME"
19
+ echo "JAVA_HOME: $JAVA_HOME"
20
+ java --version
21
+ gu --version
22
+ native-image --version
23
+ ./gradlew nativeTest
You can’t perform that action at this time.
0 commit comments