diff options
Diffstat (limited to '.github/workflows/ci.yml')
-rw-r--r-- | .github/workflows/ci.yml | 23 |
1 files changed, 21 insertions, 2 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9ce0c54..0d06e33 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,14 +20,18 @@ jobs: # run clippy to verify we have no warnings - run: cargo fetch - name: cargo clippy - run: cargo clippy --all-features -- -D warnings + run: cargo clippy --workspace --all-targets --all-features -- -D warnings + + # check that codegen output matches committed source files + - name: codegen + run: cargo run --release -p codegen -- --check test: name: Test strategy: matrix: os: [ubuntu-latest, macos-latest, windows-latest] - toolchain: [1.52.1, stable, beta, nightly] + toolchain: [1.58.1, stable, beta, nightly] runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v2 @@ -36,7 +40,22 @@ jobs: - run: ./build_and_test_features.sh shell: bash + test-core-simd: + name: Test portable simd + strategy: + matrix: + os: [ubuntu-latest, macos-latest, windows-latest] + toolchain: [nightly] + runs-on: ${{ matrix.os }} + steps: + - uses: actions/checkout@v2 + - run: rustup update --no-self-update ${{ matrix.toolchain }} + - run: rustup default ${{ matrix.toolchain }} + - run: cargo test --features core-simd + shell: bash + test-wasm: + name: Test wasm strategy: matrix: toolchain: [stable] |