From 8a0b9d367b8a189127d58e67a394a65275a19d53 Mon Sep 17 00:00:00 2001 From: Mrmaxmeier Date: Thu, 5 Aug 2021 12:47:03 +0200 Subject: [PATCH] ci: check that stubbed implementation compiles --- .github/workflows/main.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e6ab89f8..3a330995 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -84,6 +84,27 @@ jobs: - name: Run tests run: cargo test + check-stub: + runs-on: ubuntu-18.04 + strategy: + matrix: + target: + - wasm32-unknown-unknown + steps: + - name: Checkout + uses: actions/checkout@v2 + + - name: Install toolchain + uses: actions-rs/toolchain@v1 + with: + toolchain: stable + profile: minimal + target: ${{ matrix.target }} + override: true + + - name: Run check + run: cargo check --all-targets --target ${{ matrix.target }} + test-msrv: runs-on: ubuntu-18.04 steps: