Skip to content

Commit 7678f77

Browse files
committed
f
1 parent bbc3e91 commit 7678f77

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ env:
1010
jobs:
1111
my-job:
1212
name: Build zbpd on Push Tag 🚀
13-
runs-on: ubuntu-18.04
13+
runs-on: ubuntu-latest
1414
steps:
1515

1616
- name: Set up Go
1717
uses: actions/setup-go@v2
1818
with:
19-
go-version: 1.16
19+
go-version: 1.17
2020

2121
- name: Check out code into the Go module directory
2222
uses: actions/checkout@v2
@@ -46,7 +46,9 @@ jobs:
4646
PATH=$PATH:`pwd`/op19078-brcm2708/staging_dir/toolchain-arm_arm1176jzf-s+vfp_gcc-7.5.0_musl_eabi/bin/
4747
export PATH
4848
export STAGING_DIR=`pwd`/op19078-brcm2708/staging_dir/toolchain-arm_arm1176jzf-s+vfp_gcc-7.5.0_musl_eabi/
49-
CGO_ENABLED=1 GOOS=linux GOARCH=arm GOARM=6 CC=arm-openwrt-linux-gcc CXX=arm-openwrt-linux-g++ AR=arm-openwrt-linux-ar go build -ldflags="-s -w" -o artifacts/zbpd-openwrt-linux-arm1176jzf-s+vfp
49+
export CGO_CFLAGS=$CGO_CFLAGS" --sysroot "$STAGING_DIR
50+
export CGO_LDFLAGS=$CGO_LDFLAGS" --sysroot "$STAGING_DIR
51+
CGO_ENABLED=1 GOOS=linux GOARCH=arm GOARM=6 CC=$STAGING_DIR/bin/arm-openwrt-linux-gcc CXX=$STAGING_DIR/bin/arm-openwrt-linux-g++ AR=$STAGING_DIR/bin/arm-openwrt-linux-ar go build -ldflags="-s -w" -o artifacts/zbpd-openwrt-linux-arm1176jzf-s+vfp
5052
- name: Build linux-x64
5153
run: CGO_ENABLED=1 GOOS=linux GOARCH=amd64 go build -ldflags="-s -w" -o artifacts/zbpd-linux-x64
5254
- name: Build linux-x86

0 commit comments

Comments
 (0)