Create wasi.yml

This commit is contained in:
Richard Anthony 2022-12-25 13:29:59 +11:00 committed by GitHub
parent 90fb6f70b4
commit 7ca98f6cd8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 22 additions and 0 deletions

22
.github/workflows/wasi.yml vendored Normal file
View File

@ -0,0 +1,22 @@
name: Docker Image CI
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Pull TinyGo
run: docker pull tinygo/tinygo:0.26.0
- name: Build Project
run: docker run -v $(pwd):$(pwd) -w $(pwd)/internal/restic tinygo/tinygo tinygo build -o restic.wasm -target wasi