Skip to content

Commit

Permalink
Merge pull request #1411 from rust-ndarray/ci
Browse files Browse the repository at this point in the history
CI: require rustfmt, nostd
  • Loading branch information
bluss committed Aug 3, 2024
2 parents e9e8c9d + 3de33e4 commit 9873c0a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
components: rustfmt
- run: cargo fmt --all --check

nostd-build:
nostd:
runs-on: ubuntu-latest
continue-on-error: ${{ matrix.experimental }}
strategy:
Expand All @@ -52,7 +52,7 @@ jobs:
experimental: false
target: thumbv6m-none-eabi

name: nostd-build/${{ matrix.target }}/${{ matrix.rust }}
name: nostd/${{ matrix.target }}/${{ matrix.rust }}
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
Expand Down Expand Up @@ -122,7 +122,6 @@ jobs:
- name: Install cargo-careful
run: cargo install cargo-careful
- run: cargo careful test -Zcareful-sanitizer --features="$FEATURES"
- run: cargo careful test -Zcareful-sanitizer -p ndarray-rand

docs:
if: ${{ github.event_name == 'merge_group' }}
Expand All @@ -142,7 +141,8 @@ jobs:
conclusion:
needs:
- clippy
# - format # should format be required?
- format # should format be required?
- nostd
- tests
- cross_test
- cargo-careful
Expand Down

0 comments on commit 9873c0a

Please # to comment.