Debian Codegraph @

.github/workflows/webasm.yml

raw
1 name: webasm
2
3 on:
4 pull_request:
5 push:
6 branches:
7 - main
8
9 jobs:
10 build:
11 name: build
12 runs-on: [ubuntu-latest]
13 strategy:
14 fail-fast: false
15 matrix:
16 go: ["stable", "oldstable"]
17 steps:
18 - name: Check out code into the Go module directory
19 uses: actions/checkout@v6
20
21 - name: Set up Go
22 uses: actions/setup-go@v6
23 with:
24 go-version: ${{ matrix.go }}
25 id: go
26
27 - name: Get dependencies
28 run: go get -v -t -d ./...
29
30 - name: Build the web assembly mouse demo
31 run: env GOOS=js GOARCH=wasm go build _demos/mouse.go