File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 1616 - name : Set up Go
1717 uses : actions/setup-go@v2
1818 with :
19- go-version : 1.17
19+ go-version : 1.16
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- 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
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
5250 - name : Build linux-x64
5351 run : CGO_ENABLED=1 GOOS=linux GOARCH=amd64 go build -ldflags="-s -w" -o artifacts/zbpd-linux-x64
5452 - name : Build linux-x86
You can’t perform that action at this time.
0 commit comments