File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 77
88jobs :
99 build-rotateproxy :
10- runs-on : ubuntu-18 .04
10+ runs-on : ubuntu-20 .04
1111 steps :
1212 - name : Checkout
1313 uses : actions/checkout@v2
2222 - name : Build RotateProxy
2323 run : |
2424 # download macos sysroot
25- git clone --depth=1 https://github.com/hexops/sdk-macos-11.3 .git "$HOME/macos-SDK"
25+ git clone --depth=1 https://github.com/hexops/sdk-macos-12.0 .git "$HOME/macos-SDK"
2626 # create zig script
2727 mkdir -p "$HOME/.bin"
2828 export PATH=$PATH:"$HOME/.bin"
6262 fi
6363 cat "$HOME/.bin/zxx"
6464 cat "$HOME/.bin/zcc"
65- CGO_ENABLED=1 GOOS="${goos}" GOARCH="${goarch}" CC="zcc" CXX="zxx" go build -o "../../build/rotateproxy-${goos}-${goarch}${ext}" -trimpath -ldflags="-linkmode=external -extldflags=-static -s -w"
65+ CGO_ENABLED=1 GOOS="${goos}" GOARCH="${goarch}" CC="zcc" CXX="zxx" go build -x - o "../../build/rotateproxy-${goos}-${goarch}${ext}" -trimpath -ldflags="-linkmode=external -extldflags=-static -s -w"
6666 done
6767 - name : Run GoReleaser
6868 uses : goreleaser/goreleaser-action@v2
You can’t perform that action at this time.
0 commit comments