.github/workflows: add tsconnect static build to wasm GitHub action

Technically not the same as the wasm cross-compilation, but it's
closely connected to it.

Also includes some fixes to tool/yasm to make it actually work on
non-ARM platforms.

Fixes #5134

Signed-off-by: Mihai Parparita <mihai@tailscale.com>
This commit is contained in:
Mihai Parparita
2022-07-25 12:16:02 -07:00
committed by Mihai Parparita
parent 7eaf5e509f
commit 7e4883b261
2 changed files with 10 additions and 5 deletions

View File

@@ -31,6 +31,11 @@ jobs:
GOARCH: wasm
run: go build ./cmd/tsconnect/wasm
- name: tsconnect static build
# Use our custom Go toolchain, we set build tags (to control binary size)
# that depend on it.
run: ./tool/go run ./cmd/tsconnect build
- uses: k0kubun/action-slack@v2.0.0
with:
payload: |