Skip to content

Commit

Permalink
ci: setup wasm check on gnovm
Browse files Browse the repository at this point in the history
  • Loading branch information
moul committed Aug 1, 2023
1 parent d87146a commit 8860136
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/gnovm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,14 @@ jobs:
strategy:
fail-fast: false
matrix:
go-version: [ "1.19.x", "1.20.x" ]
goarch: [ "amd64" ]
goos: [ "linux" ]
program: [ "gno" ]
go-version: # two latest versions
- "1.19.x"
- "1.20.x"
goenv: # TODO: replace with pairs, so it's easier to read in the GH interface.
- "GOARCH=amd64 GOOS=linux"
- "GOARCH=js GOOS=wasm"
program:
- "gno"
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
Expand All @@ -36,7 +40,7 @@ jobs:
- uses: actions/checkout@v3
- name: go install
working-directory: gnovm
run: GOOS=${{ matrix.goos }} GOARCH=${{ matrix.goarch }} go install ./cmd/${{ matrix.program }}
run: ${{ matrix.goenv }} go install ./cmd/${{ matrix.program }}

test:
strategy:
Expand Down

0 comments on commit 8860136

Please sign in to comment.