File tree 3 files changed +37
-19
lines changed
3 files changed +37
-19
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
+ skip-native-tests : ${{ !contains(github.event.pull_request.labels.*.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 1
- name : GraalVM native tests
1
+ name : Daily GraalVM native tests
2
2
3
3
on :
4
4
schedule :
7
7
workflow_dispatch :
8
8
9
9
jobs :
10
- build :
11
- runs-on : ubuntu-latest
12
- steps :
13
- - uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
14
- - uses : graalvm/setup-graalvm@5c3001733f88c5e6475916e448f865429d2c154e # v1.1.8.1
15
- with :
16
- version : " latest"
17
- java-version : " 17"
18
- components : " native-image"
19
- - name : Running test
20
- run : |
21
- echo "GRAALVM_HOME: $GRAALVM_HOME"
22
- echo "JAVA_HOME: $JAVA_HOME"
23
- java --version
24
- gu --version
25
- native-image --version
26
- ./gradlew nativeTest
10
+ graalvm-native-tests :
11
+ uses : ./.github/workflows/reusable-native-tests
27
12
28
13
workflow-notification :
29
14
needs :
30
- - build
15
+ - graalvm-native-tests
31
16
if : always()
32
17
uses : ./.github/workflows/reusable-workflow-notification.yml
33
18
with :
Original file line number Diff line number Diff line change
1
+ name : Reusable - Native tests
2
+
3
+ on :
4
+ workflow_call :
5
+ inputs :
6
+ skip-native-tests :
7
+ type : boolean
8
+ required : false
9
+
10
+ jobs :
11
+ graalvm-native-tests :
12
+ if : " !inputs.skip-native-tests"
13
+ runs-on : ubuntu-latest
14
+ steps :
15
+ - uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
16
+ - uses : graalvm/setup-graalvm@d72e3dbf5f44eb0b78c4f8ec61a262d8bf9b94af # v1.1.7.1
17
+ with :
18
+ version : " latest"
19
+ java-version : " 17"
20
+ components : " native-image"
21
+ - name : Running test
22
+ run : |
23
+ echo "GRAALVM_HOME: $GRAALVM_HOME"
24
+ echo "JAVA_HOME: $JAVA_HOME"
25
+ java --version
26
+ gu --version
27
+ native-image --version
28
+ ./gradlew nativeTest
You can’t perform that action at this time.
0 commit comments