Skip to content

Commit 9a1cc72

Browse files
authored
cicd: copied resource-config.json to native-image directory for test (#15)
1 parent 00bc3fa commit 9a1cc72

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.ci/macos-latest/resource-config.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"resources":{
33
"includes":[{
4-
"pattern":"\\Qcom/sun/jna/darwin-x86-64/libjnidispatch.jnilib\\E"
4+
"pattern":"\\Qcom/sun/jna/darwin-aarch64/libjnidispatch.jnilib\\E"
55
}]},
66
"bundles":[]
77
}

.github/workflows/java-ci.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ jobs:
2424
native-image-job-reports: 'true'
2525
- name: Build and test
2626
run: mvn package
27-
- name: Test with trace agent
28-
run: mvn -Ptrace test
27+
- name: Prepare native test
28+
run: |
29+
cp .ci/${{ matrix.os }}/resource-config.json src/test/resources/META-INF/native-image/
2930
- name: Native test
3031
run: mvn -Pnative test

0 commit comments

Comments
 (0)