From e04575da05fe5c223ed592c4e2461998d440fd4f Mon Sep 17 00:00:00 2001 From: Ian Armour Date: Sat, 26 Sep 2020 12:48:36 -0700 Subject: [PATCH] Added the GOARM version flag to resolve exec problems on future arm releases --- .github/workflows/build.yml | 6 +++--- .github/workflows/release.yml | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3dde4cf..f002e6d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -35,16 +35,16 @@ jobs: run: env GGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -a -o nvidia-clerk-windows.exe - name: Build Windows ARM - run: env GGO_ENABLED=0 GOOS=windows GOARCH=arm go build -a -o nvidia-clerk-windows-arm.exe + run: env GOARM=5 GGO_ENABLED=0 GOOS=windows GOARCH=arm go build -a -o nvidia-clerk-windows-arm.exe - name: Build Linux run: env GOOS=linux GOARCH=amd64 go build -a -o nvidia-clerk-linux - name: Build Linux ARM - run: env GOOS=linux GOARCH=arm go build -a -o nvidia-clerk-linux-arm + run: env GOARM=5 GOOS=linux GOARCH=arm go build -a -o nvidia-clerk-linux-arm - name: Build Linux ARM64 - run: env GOOS=linux GOARCH=arm64 go build -a -o nvidia-clerk-linux-arm64 + run: env GOARM=5 GOOS=linux GOARCH=arm64 go build -a -o nvidia-clerk-linux-arm64 - name: Build Darwin run: env GOOS=darwin GOARCH=amd64 go build -a -o nvidia-clerk-darwin diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 896b73a..fd3279f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -35,17 +35,17 @@ jobs: - name: Build Windows run: env GGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -a -o nvidia-clerk-windows.exe - - name: Build Windows - run: env GGO_ENABLED=0 GOOS=windows GOARCH=arm go build -a -o nvidia-clerk-windows-arm.exe + - name: Build Windows ARM + run: env GOARM=5 GGO_ENABLED=0 GOOS=windows GOARCH=arm go build -a -o nvidia-clerk-windows-arm.exe - name: Build Linux run: env GOOS=linux GOARCH=amd64 go build -a -o nvidia-clerk-linux - name: Build Linux ARM - run: env GOOS=linux GOARCH=arm go build -a -o nvidia-clerk-linux-arm + run: env GOARM=5 GOOS=linux GOARCH=arm go build -a -o nvidia-clerk-linux-arm - name: Build Linux ARM64 - run: env GOOS=linux GOARCH=arm64 go build -a -o nvidia-clerk-linux-arm64 + run: env GOARM=5 GOOS=linux GOARCH=arm64 go build -a -o nvidia-clerk-linux-arm64 - name: Build Darwin run: env GOOS=darwin GOARCH=amd64 go build -a -o nvidia-clerk-darwin