Skip to content

Commit

Permalink
Merge branch 'ci-fixes' into relax-half-version-req
Browse files Browse the repository at this point in the history
  • Loading branch information
charles-r-earp committed May 14, 2024
2 parents 7178d2b + ea767d8 commit 02f838f
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,17 +34,20 @@ jobs:
- name: install toolchains
run: |
rustup set profile minimal
rustup toolchain install stable --component rust-docs
rustup toolchain install nightly --component miri
rustup toolchain install nightly-2023-05-27 --component rust-src rustc-dev llvm-tools-preview
rustup toolchain install stable --component rust-docs --no-self-update
rustup toolchain install nightly --component miri --no-self-update
rustup toolchain install nightly-2023-05-27 --component rust-src rustc-dev llvm-tools-preview --no-self-update
- name: build
run: cargo build --workspace --features serde --all-targets -v
- name: test
run: |
cargo test --workspace --no-default-features --features serde -v
cargo test -p compute-benches --benches --no-default-features -v
- name: miri test
run: cargo +nightly miri test --tests --no-default-features --features serde -v
run: |
cargo update half@2 --precise 2.1.0 # miri doesn't support asm!
cargo +nightly miri test --tests --no-default-features --features serde -v
cargo update half@2
- name: install wasm-pack
run: cargo install wasm-pack -vv
- name: wasm test safari
Expand Down Expand Up @@ -85,8 +88,8 @@ jobs:
- name: install toolchains
run: |
rustup set profile minimal
rustup toolchain install stable nightly
rustup toolchain install nightly-2023-05-27 --component rust-src rustc-dev llvm-tools-preview
rustup toolchain install stable nightly --no-self-update
rustup toolchain install nightly-2023-05-27 --component rust-src rustc-dev llvm-tools-preview --no-self-update
- if: ${{ runner.os == 'Linux' }}
name: Linux - Install native dependencies and spirv-tools
run: |
Expand Down Expand Up @@ -128,9 +131,9 @@ jobs:
- name: install toolchains
run: |
rustup set profile minimal
rustup toolchain install stable --component rustfmt clippy rust-docs
rustup toolchain install nightly 1.70.0
rustup toolchain install nightly-2023-05-27 --component rustfmt clippy rust-src rustc-dev llvm-tools-preview
rustup toolchain install stable --component rustfmt clippy rust-docs --no-self-update
rustup toolchain install nightly 1.70.0 --no-self-update
rustup toolchain install nightly-2023-05-27 --component rustfmt clippy rust-src rustc-dev llvm-tools-preview --no-self-update
- name: fmt
run: cargo fmt --check
- name: krnlc fmt
Expand Down

0 comments on commit 02f838f

Please sign in to comment.