File tree Expand file tree Collapse file tree 3 files changed +37
-19
lines changed Expand file tree Collapse file tree 3 files changed +37
-19
lines changed Original file line number Diff line number Diff line change 2626 with :
2727 cache-read-only : true
2828
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+
2934 muzzle :
3035 uses : ./.github/workflows/reusable-muzzle.yml
3136 with :
Original file line number Diff line number Diff line change 1- name : GraalVM native tests
1+ name : Daily GraalVM native tests
22
33on :
44 schedule :
77 workflow_dispatch :
88
99jobs :
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
2712
2813 workflow-notification :
2914 needs :
30- - build
15+ - graalvm-native-tests
3116 if : always()
3217 uses : ./.github/workflows/reusable-workflow-notification.yml
3318 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