From 1edd0c5a233f9acdc1422601b0eb8b0e5133a644 Mon Sep 17 00:00:00 2001 From: Damian <49796247+krox2@users.noreply.github.com> Date: Fri, 19 Jan 2024 14:42:43 +0000 Subject: [PATCH] make sure we use software float when building arm binary our switches don't have a hardware floating point unit which is set by default when building arm v7 or v6. It seems that setting arm to v5 would also work https://github.com/golang/go/issues/61588 --- .github/workflows/main.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index fc30b182d..ffcabae22 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -24,7 +24,6 @@ jobs: # build and publish in parallel: linux/amd64, linux/arm64, linux/arm goos: ["linux"] goarch: ["amd64", "arm", "arm64"] - goarm: "7" steps: - name: Check out the tag reference into the Go module directory uses: actions/checkout@v3 @@ -39,7 +38,7 @@ jobs: github_token: ${{ secrets.GITHUB_TOKEN }} goos: ${{ matrix.goos }} goarch: ${{ matrix.goarch }} - goarm: "7" + goarm: "7,softfloat" binary_name: "wireguard-go" release_name: "${{ env.GITHUB_REF_NAME }}" compress_assets: "OFF"