Skip to content

Commit a1d0738

Browse files
committed
arm64 support
1 parent b18ffc2 commit a1d0738

File tree

2 files changed

+13
-7
lines changed

2 files changed

+13
-7
lines changed

.github/workflows/pull_request.yml

+6-3
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
- main
77

88
jobs:
9-
run-tests:
9+
build:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- name: Checkout
@@ -27,5 +27,8 @@ jobs:
2727
- name: Go Mod Download
2828
run: go mod download
2929

30-
- name: Go Build
31-
run: go build -o k8s-parallel-exec
30+
- name: Go Build amd64
31+
run: CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o k8s-parallel-exec-amd64
32+
33+
- name: Go Build arm64
34+
run: CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build -o k8s-parallel-exec-arm64

.github/workflows/release.yml

+7-4
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
- published
77

88
jobs:
9-
build:
9+
release:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- uses: actions/checkout@v3
@@ -26,12 +26,15 @@ jobs:
2626
- name: Go Mod Download
2727
run: go mod download
2828

29-
- name: Go Build
30-
run: go build -o k8s-parallel-exec
29+
- name: Go Build amd64
30+
run: CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o k8s-parallel-exec-amd64
31+
32+
- name: Go Build arm64
33+
run: CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build -o k8s-parallel-exec-arm64
3134

3235
- name: Publish k8s-parallel-exec to assets
3336
3437
env:
3538
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3639
with:
37-
args: './k8s-parallel-exec'
40+
args: './k8s-parallel-exec-*'

0 commit comments

Comments
 (0)