Skip to content

Commit

Permalink
gha: add GOARCH=386 build check
Browse files Browse the repository at this point in the history
Signed-off-by: Aleksa Sarai <[email protected]>
  • Loading branch information
cyphar committed Jan 12, 2025
1 parent 0c2fbe6 commit 17854d7
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ jobs:
- windows-latest
- ubuntu-latest
- macos-latest
go-arch:
- amd64
go-version:
- "1.18"
- "1.19"
Expand All @@ -27,6 +29,10 @@ jobs:
- "1.22"
- "1.23"
- "^1"
include:
- os: ubuntu-latest
go-arch: "386"
go-version: "^1"
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
Expand All @@ -35,9 +41,9 @@ jobs:
go-version: ${{ matrix.go-version }}
check-latest: true
- name: go build check
run: go build ./...
run: GOARCH=${{ matrix.go-arch }} go build ./...
- name: go test build check
run: go test -run none ./...
run: GOARCH=${{ matrix.go-arch }} go test -run none ./...

test-windows:
strategy:
Expand Down

0 comments on commit 17854d7

Please sign in to comment.