Skip to content

Commit

Permalink
Update rust.yml
Browse files Browse the repository at this point in the history
Signed-off-by: Joe McCain III <92560746+FL03@users.noreply.github.com>
  • Loading branch information
FL03 authored May 24, 2024
1 parent 933323f commit 0d5b03c
Showing 1 changed file with 13 additions and 14 deletions.
27 changes: 13 additions & 14 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ concurrency:

env:
CARGO_TERM_COLOR: always
CRATE_BASENAME: ${{ github.event.repository.name }}

on:
pull_request:
Expand Down Expand Up @@ -53,12 +54,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: setup (langspace)
- name: rustup
run: |
rustup default nightly
rustup update
- name: Bench
run: cargo bench --all -v
- run: cargo bench --all -v

test:
name: Test
strategy:
Expand All @@ -67,14 +68,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: setup (langspace)
run: |
rustup default ${{ matrix.toolchain }}
rustup update
- name: Test
run: cargo test --features full -v --workspace
- run: rustup default ${{ matrix.toolchain }} && rustup update
- run: cargo test --features full -v --workspace

blas:
continue-on-error: true
env:
PACKAGE_NAME: ${{ github.event.repository.name }}-${{ matrix.crate }}
name: Test (blas)
strategy:
matrix:
Expand All @@ -83,9 +83,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: rustup
run: |
rustup default ${{ matrix.toolchain }}
rustup update
- run: rustup default ${{ matrix.toolchain }} && rustup update
- name: test
run: cargo test --features blas -v --package ${{ github.event.repository.name }}-${{ matrix.crate }}
run: |
cargo clean
cargo test --features blas -v -p ${{ env.PACKAGE_NAME }}

0 comments on commit 0d5b03c

Please sign in to comment.