File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 1010jobs :
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
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
You can’t perform that action at this time.
0 commit comments