File tree Expand file tree Collapse file tree 3 files changed +16
-2
lines changed Expand file tree Collapse file tree 3 files changed +16
-2
lines changed Original file line number Diff line number Diff line change 2424 wget https://github.com/tinygo-org/tinygo/releases/download/v0.37.0/tinygo_0.37.0_amd64.deb
2525 sudo dpkg -i tinygo_0.37.0_amd64.deb
2626
27- - name : Make
27+ - name : Build
2828 env :
2929 ENABLE_WASM_OPT : false
3030 run : make build
31+
32+ - name : Test
33+ env :
34+ ENABLE_WASM_OPT : false
35+ run : make test
Original file line number Diff line number Diff line change @@ -26,11 +26,16 @@ jobs:
2626 wget https://github.com/tinygo-org/tinygo/releases/download/v0.37.0/tinygo_0.37.0_amd64.deb
2727 sudo dpkg -i tinygo_0.37.0_amd64.deb
2828
29- - name : Make
29+ - name : Build
3030 env :
3131 ENABLE_WASM_OPT : false
3232 run : make build
3333
34+ - name : Test
35+ env :
36+ ENABLE_WASM_OPT : false
37+ run : make test
38+
3439 - name : generate checksums
3540 run : |
3641 sha256sum redirect.wasm > checksums-${{ env.RELEASE_VERSION }}.txt
Original file line number Diff line number Diff line change 66ifeq ($(ENABLE_WASM_OPT ) ,true)
77 wasm-opt -Os -o redirect.wasm redirect.wasm
88endif
9+
10+ .PHONY : test
11+ test :
12+ tinygo test -target=wasip1 -gc=leaking -v ./redirect/...
You can’t perform that action at this time.
0 commit comments