Skip to content
This repository has been archived by the owner on Jul 28, 2024. It is now read-only.

Commit

Permalink
add job for building examples
Browse files Browse the repository at this point in the history
  • Loading branch information
mathetake committed Sep 7, 2020
1 parent 7c8f920 commit 73d62ef
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/gotest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,23 @@ name: build-test
on: push

jobs:
build:
name: build examples
runs-on: ubuntu-latest
container:
image: tinygo/tinygo:0.14.0
steps:
- name: checkout
uses: actions/checkout@v2

- name: set up go 1.14
uses: actions/setup-go@v1
with:
go-version: 1.14

- name: build examples
run: find ./ -type f -name "main.go" | xargs -Ip tinygo build -o p.wasm -target=wasm -wasm-abi=generic p

test:
name: test
runs-on: ubuntu-latest
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 73d62ef

Please sign in to comment.