From 9dd35e7853e498c9681188374ad13c257a4e5ca1 Mon Sep 17 00:00:00 2001 From: Max Brunsfeld Date: Wed, 2 Dec 2020 16:27:37 -0800 Subject: [PATCH] Build wasm binding, run wasm tests on GH actions --- .github/workflows/ci.yml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6b3fc567..5cd1eb46 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,7 +25,7 @@ jobs: - name: Checkout repo uses: actions/checkout@v2 - - name: Setup cache + - name: Cache artifacts uses: actions/cache@v2 with: path: | @@ -44,16 +44,23 @@ jobs: - name: Build C library run: make + - name: Build wasm library + run: script/build-wasm + - name: Build CLI run: cargo build --release - - name: Setup fixture parsers + - name: Set up fixture parsers run: | script/fetch-fixtures script/generate-fixtures + script/generate-fixtures-wasm - - name: Run tests + - name: Run main tests run: script/test + - name: Run wasm tests + run: script/test-wasm + - name: Run benchmarks run: script/benchmark