Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatically build binaries for Popular Linux archs #253

Merged
merged 14 commits into from
Dec 8, 2022
Prev Previous commit
Set CC
  • Loading branch information
hardillb committed Dec 8, 2022
commit 302a0ee9c98da27b78083793c7fb3ab9e6b3255b
6 changes: 3 additions & 3 deletions .github/workflows/scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ cp go-auth.so pw /usr/src/output/linux-amd64
make clean
export CGO_ENABLED=1
export GOARCH=arm64
#export CC=aarch64-linux-gnu-gcc
export CC=aarch64-linux-gnu-gcc
make
cp go-auth.so pw /usr/src/output/linux-arm64

Expand All @@ -23,7 +23,7 @@ make clean
export CGO_ENABLED=1
export GOARCH=arm
export GOARM=7
#export CC=arm-linux-gnueabi-gcc
export CC=arm-linux-gnueabi-gcc
make
cp go-auth.so pw /usr/src/output/linux-armv7

Expand All @@ -32,6 +32,6 @@ make clean
export CGO_ENABLED=1
export GOARCH=arm
export GOARM=6
#export CC=arm-linux-gnueabi-gcc
export CC=arm-linux-gnueabi-gcc
make
cp go-auth.so pw /usr/src/output/linux-armv6