Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Commit

Permalink
Added the GOARM version flag to resolve exec problems on future arm r…
Browse files Browse the repository at this point in the history
…eleases
  • Loading branch information
ianmarmour committed Sep 26, 2020
1 parent 98ba0ad commit e04575d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e04575d

Please sign in to comment.