From 7208916230cc22d68f2d06edbd1fb1b4643f1104 Mon Sep 17 00:00:00 2001 From: infogulch Date: Tue, 5 Dec 2023 20:51:04 -0600 Subject: [PATCH] Clean up test step by compiling in build step --- .github/workflows/ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9fa463a4..e35ce825 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -63,10 +63,11 @@ jobs: # Build and test. - name: Build library - run: cargo rustc --lib --target ${{ matrix.target }} ${{ matrix.args }} --verbose + continue-on-error: ${{ contains(matrix.target,'wasm32') }} # allow wasm builds to fail tests for now + run: cargo build --all-targets --target ${{ matrix.target }} ${{ matrix.args }} --verbose - name: Test continue-on-error: ${{ contains(matrix.target,'wasm32') }} # allow wasm builds to fail tests for now - run: cargo test --target ${{ matrix.target }} ${{ matrix.args }} --all --verbose + run: cargo test --target ${{ matrix.target }} ${{ matrix.args }} --all # On stable rust builds, build a binary and publish as a github actions # artifact. These binaries could be useful for testing the pipeline but -- 2.54.0