Skip to content

Commit

Permalink
trying something to make sure we are using the right tinygo
Browse files Browse the repository at this point in the history
  • Loading branch information
madflojo committed Jun 16, 2024
1 parent 6798cef commit fd72d97
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/go-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ jobs:
tinygo_version=0.29.0
curl -sSL https://github.com/tinygo-org/tinygo/releases/download/v${tinygo_version}/tinygo${tinygo_version}.linux-amd64.tar.gz | sudo tar -C /usr/local -xzf -
echo "TINYGOROOT=/usr/local/tinygo" >> $GITHUB_ENV
echo "TINYGOPATH=/usr/local/tinygo/bin/" >> $GITHUB_ENV
echo "/usr/local/tinygo/bin" >> $GITHUB_PATH
- name: Build Wasm
Expand Down
2 changes: 1 addition & 1 deletion hello/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ build:
@echo "----------"
@echo "Building Go wasm Guest"
@echo "----------"
tinygo build -o hello.wasm -scheduler=none --no-debug -target=wasi main.go
${TINYGOPATH}tinygo build -o hello.wasm -scheduler=none --no-debug -target=wasi main.go

0 comments on commit fd72d97

Please sign in to comment.