Bump golang.org/x/tools from 0.24.0 to 0.25.0 #183
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |