From 457b29e0697ebaa94358e6919487dc4f88f464f7 Mon Sep 17 00:00:00 2001 From: chai2010 Date: Sat, 3 Sep 2022 13:39:15 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=20windows=20action?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/wa.yml | 32 +++++++++++++++++++++++++++++++- 1 file changed, 31 insertions(+), 1 deletion(-) diff --git a/.github/workflows/wa.yml b/.github/workflows/wa.yml index b61614e..0161ff3 100644 --- a/.github/workflows/wa.yml +++ b/.github/workflows/wa.yml @@ -9,7 +9,7 @@ on: - master - "releases/*" jobs: - build-and-test: + build-and-test-ubuntu: runs-on: ubuntu-latest steps: - name: Git checkout @@ -50,3 +50,33 @@ jobs: - uses: shogo82148/actions-goveralls@v1 with: path-to-profile: profile.cov + + build-and-test-windows: + runs-on: windows-latest + steps: + - name: Git checkout + uses: actions/checkout@v2 + + - name: Set up Go + uses: actions/setup-go@v2 + with: + go-version: 1.17 + - name: Setup Wasmer + uses: wasmerio/setup-wasmer@v1 + + - run: wasmer -V + + - run: go version + - run: go env + + - run: go test -v ./... + + - run: go install + + - run: wa -h + #- run: wa hello.wa + #- run: wa run _examples/hello + #- run: wa run _examples/prime + + - run: wa wasm hello.wa + - run: wasmer a.out.wat -- GitLab