Skip to content

Bump golang.org/x/tools from 0.21.0 to 0.22.0 #160

Bump golang.org/x/tools from 0.21.0 to 0.22.0

Bump golang.org/x/tools from 0.21.0 to 0.22.0 #160

Workflow file for this run

name: Emscripten
on:
push:
branches:
- main
- development
pull_request:
branches:
- main
- development
jobs:
test-emscripten:
strategy:
fail-fast: false
matrix:
emscripten: [ "3.1.44", "3.1.45", "3.1.46", "3.1.47", "3.1.48", "3.1.49", "3.1.50", "3.1.51", "3.1.52", "3.1.53" ]
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v4
- uses: mymindstorm/setup-emsdk@v14
with:
version: ${{ matrix.emscripten }}
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: "1.22"
- name: Recompile examples
run: |
curdir=`pwd`
for example in $(find examples -mindepth 1 -maxdepth 1 -type d)
do
cd $curdir/$example/wasm
./compile.sh
done
cd $curdir
- name: Test generation of examples
run: |
go generate ./...
- name: Run examples
run: |
curdir=`pwd`
for example in $(find examples -mindepth 1 -maxdepth 1 -type d)
do
cd $curdir/$example
go run main.go
done
cd $curdir
- name: Recompile testdata
run: |
curdir=`pwd`
cd testdata/wasm
./compile.sh
cd $curdir
- name: Test all packages
run: |
go test -timeout 30m ./... -v