Skip to content

Commit 2301c31

Browse files
committed
local toolchain for ios
1 parent 74991c9 commit 2301c31

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/ios.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ jobs:
2323
with:
2424
go-version: '^1.24'
2525
- name: Build Go
26-
# this should match with go.mod version
2726
run: ./go.sh 1.24.1 fastrsa
2827
- name: Build
2928
run: |
3029
export PATH="/tmp/go/bin:$PATH"
30+
export GOTOOLCHAIN=local
3131
make binding_ios
3232
- name: Compress
3333
run: tar -czvf output.tar.gz -C output/binding/ios .
@@ -53,11 +53,11 @@ jobs:
5353
with:
5454
go-version: '^1.24'
5555
- name: Build Go
56-
# this should match with go.mod version
5756
run: ./go.sh 1.24.1 fastrsa
5857
- name: Build
5958
run: |
6059
export PATH="/tmp/go/bin:$PATH"
60+
export GOTOOLCHAIN=local
6161
make binding_ios_xcframework
6262
- name: Compress
6363
run: tar -czvf output.tar.gz -C output/binding/ios .

cross_build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
GOOS=${GOOS:-linux}
44
GOARCH=${GOARCH:-amd64}
5-
GOVERSION=${GOVERSION:-1.23.7}
5+
GOVERSION=${GOVERSION:-1.23.3} # do not increase because toolchain auto is used
66
TAG=${TAG:-main}
77
CMD=${CMD:-make build}
88
ARGS=${ARGS:-}

0 commit comments

Comments
 (0)