File tree Expand file tree Collapse file tree 1 file changed +7
-11
lines changed Expand file tree Collapse file tree 1 file changed +7
-11
lines changed Original file line number Diff line number Diff line change 1
1
name : Build macOS Binaries
2
2
3
3
on :
4
- # push:
5
- # branches: [ master ]
6
- # pull_request:
7
- # branches: [ master ]
8
- # GHA does not support building Apple am64 very well, so we disable this workflow for now.
9
- # See https://github.com/actions/runner/issues/805
10
4
push :
11
- branches-ignore :
12
- - ' **'
5
+ branches : [ master ]
6
+ pull_request :
7
+ branches : [ master ]
13
8
14
9
jobs :
15
10
native :
16
11
17
- runs-on : macos-latest
12
+ runs-on : [self-hosted, macos, aarch64]
18
13
19
14
name : macOS binary
20
15
24
19
25
20
with :
26
21
java-version : 8
22
+ architecture : arm
27
23
- name : cache dependencies
28
24
uses : actions/cache@v1
29
25
with :
@@ -36,12 +32,12 @@ jobs:
36
32
run : " rm archive/* && ant jar && ant archive-platform-jar"
37
33
- name : Dump config.log
38
34
if : ${{ always() }}
39
- run : " cat /Users/runner/work/jffi/jffi/ build/jni/libffi-darwin-x86_64/config.log"
35
+ run : " cat build/jni/libffi-darwin-x86_64/config.log"
40
36
- name : Archive built library
41
37
uses : actions/upload-artifact@v2
42
38
with :
43
39
name : shared-object
44
- path : build/jni/*.so
40
+ path : build/jni/*.jnilib
45
41
- name : Archive built jar
46
42
uses : actions/upload-artifact@v2
47
43
with :
You can’t perform that action at this time.
0 commit comments