Skip to content

Commit

Permalink
CI: test go build for plan9 and wasm
Browse files Browse the repository at this point in the history
We just fixed builds for GOOS=plan9, so ensure it stays that way.
  • Loading branch information
mvdan committed Nov 29, 2024
1 parent 0ac9498 commit c6d617d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@ jobs:
CGO_ENABLED=0 go test -run TestRunnerRunConfirm -exec 'dockexec bash:5.2' ./interp
if: matrix.os == 'ubuntu-latest'

# Test that we can build for platforms that we can't currently test on.
- if: matrix.os == 'ubuntu-latest' && matrix.go-version == '1.23.x'
run: |
GOOS=plan9 GOARCH=amd64 go build ./...
GOOS=js GOARCH=wasm go build ./...
# Static checks from this point forward. Only run on one Go version and on
# Linux, since it's the fastest platform, and the tools behave the same.
- if: matrix.os == 'ubuntu-latest' && matrix.go-version == '1.23.x'
Expand Down

0 comments on commit c6d617d

Please sign in to comment.