Skip to content

Commit 333a26b

Browse files
committed
gha/rpk-build: test linux and darwin, exclude from compile
(cherry picked from commit c721fb2)
1 parent d50b6ef commit 333a26b

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/rpk-build.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@ jobs:
2424
matrix:
2525
goos: [linux, darwin, windows]
2626
goarch: [amd64, arm64]
27+
exclude:
28+
- goos: linux
29+
goarch: amd64
30+
- goos: darwin
31+
goarch: arm64
2732
runs-on: ubuntu-24.04
2833
steps:
2934
- uses: actions/checkout@v4
@@ -34,7 +39,10 @@ jobs:
3439
- run: GOOS=${{ matrix.goos }} GOARCH=${{ matrix.goarch }} go build -o rpk cmd/rpk/main.go
3540
working-directory: src/go/rpk/
3641
test:
37-
runs-on: ubuntu-24.04
42+
strategy:
43+
matrix:
44+
runner: [ubuntu-24.04, macos-15]
45+
runs-on: ${{ matrix.runner }}
3846
steps:
3947
- uses: actions/checkout@v4
4048
- uses: actions/setup-go@v5

0 commit comments

Comments
 (0)