File tree Expand file tree Collapse file tree 6 files changed +6
-38
lines changed Expand file tree Collapse file tree 6 files changed +6
-38
lines changed Original file line number Diff line number Diff line change 1515 VERSION : ${{ github.event.inputs.version || (startsWith(github.ref, 'refs/tags/') && github.ref || '') }}
1616
1717jobs :
18- binding_arm7 :
19- runs-on : macos-14
20- steps :
21- - uses : actions/checkout@v3
22- - uses : actions/setup-go@v3
23- with :
24- go-version : ' 1.14.15'
25- - name : Build Go
26- run : ./go.sh 1.14.15 fastrsa
27- - name : Build
28- run : |
29- export PATH="/tmp/go/bin:$PATH"
30- make binding_ios_armv7
31- - uses : actions/upload-artifact@v3
32- with :
33- name : output_binding_arm7
34- path : output
35- retention-days : 1
36-
3718 binding :
3819 runs-on : macos-14
39- needs : binding_arm7
4020 steps :
4121 - uses : actions/checkout@v3
42- - uses : actions/download-artifact@v2
43- with :
44- name : output_binding_arm7
45- path : output
4622 - uses : actions/setup-go@v3
4723 with :
4824 go-version : ' ^1.23'
Original file line number Diff line number Diff line change 1919 runs-on : ubuntu-24.04
2020 steps :
2121 - uses : actions/checkout@v3
22- - uses : docker-practice/actions-setup-docker@master
2322 - name : Build
2423 run : make binding_linux
2524 - name : Compress
Original file line number Diff line number Diff line change 1111 strategy :
1212 fail-fast : false
1313 matrix :
14- go : [ '1.20', '1.14 ']
14+ go : [ '1.23 ']
1515 name : Using Go ${{ matrix.go }}
1616 steps :
1717 - uses : actions/checkout@v3
Original file line number Diff line number Diff line change 2424 go-version : ' ^1.23'
2525 - name : Install TinyGo
2626 run : |
27- wget https://github.com/tinygo-org/tinygo/releases/download/v0.28.1 /tinygo_0.28.1_amd64 .deb
28- sudo dpkg -i tinygo_0.28.1_amd64 .deb
27+ wget https://github.com/tinygo-org/tinygo/releases/download/v0.34.0 /tinygo_0.34.0_amd64 .deb
28+ sudo dpkg -i tinygo_0.34.0_amd64 .deb
2929 - name : Build
3030 run : make wasm
3131 - name : Compress
Original file line number Diff line number Diff line change 1919 runs-on : ubuntu-24.04
2020 steps :
2121 - uses : actions/checkout@v3
22- - uses : docker-practice/actions-setup-docker@master
2322 - name : Build
2423 run : make binding_windows
2524 - name : Compress
Original file line number Diff line number Diff line change @@ -3,9 +3,9 @@ IOS_BINDING_OUTPUT?=$(BINDING_OUTPUT)/$(IOS_OUTPUT)
33IOS_BINDING_NAME?=$(BINDING_NAME).a
44
55binding_ios: binding_ios_arm64 binding_ios_x86_64_sim
6- lipo $(IOS_BINDING_OUTPUT)/x86_64_sim/$(IOS_BINDING_NAME) $(IOS_BINDING_OUTPUT)/arm64/$(IOS_BINDING_NAME) $(IOS_BINDING_OUTPUT)/armv7/$(IOS_BINDING_NAME) -create -output $(IOS_BINDING_OUTPUT)/$(IOS_BINDING_NAME)
6+ lipo $(IOS_BINDING_OUTPUT)/x86_64_sim/$(IOS_BINDING_NAME) $(IOS_BINDING_OUTPUT)/arm64/$(IOS_BINDING_NAME) -create -output $(IOS_BINDING_OUTPUT)/$(IOS_BINDING_NAME)
77 cp $(IOS_BINDING_OUTPUT)/arm64/*.h $(IOS_BINDING_OUTPUT)
8- rm -rf $(IOS_BINDING_OUTPUT)/arm64 $(IOS_BINDING_OUTPUT)/x86_64_sim $(IOS_BINDING_OUTPUT)/armv7
8+ rm -rf $(IOS_BINDING_OUTPUT)/arm64 $(IOS_BINDING_OUTPUT)/x86_64_sim
99
1010binding_ios_xcframework: binding_ios_all_iphone binding_ios_all_sim binding_ios_all_catalyst
1111 mkdir -p $(IOS_BINDING_OUTPUT)/headers
@@ -63,10 +63,4 @@ binding_ios_arm64:
6363 BINDING_FILE=$(IOS_OUTPUT)/arm64/$(IOS_BINDING_NAME) BUILD_MODE="c-archive" \
6464 SDK=iphoneos CC=$(PWD)/clangwrap.sh \
6565 GOOS=ios GOARCH=arm64 CGO_ENABLED=1 \
66- make binding
67-
68- binding_ios_armv7:
69- BINDING_FILE=$(IOS_OUTPUT)/armv7/$(IOS_BINDING_NAME) BUILD_MODE="c-archive" \
70- SDK=iphoneos CC=$(PWD)/clangwrap.sh CGO_CFLAGS="-fembed-bitcode" \
71- GOOS=darwin GOARCH=arm CGO_ENABLED=1 BINDING_ARGS="-tags ios" \
72- make binding
66+ make binding
You can’t perform that action at this time.
0 commit comments