Update from upstream 1f399d0, prepare for rust-lang/rust#124056 #8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: PR | |
on: pull_request | |
# Using 16MB stacks for deep test/debug recursion | |
env: | |
RUST_MIN_STACK: 16777216 | |
jobs: | |
check: | |
name: Check (1.59.0) | |
runs-on: ubuntu-latest | |
if: github.repository != 'rust-lang/rustc-rayon' | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: dtolnay/[email protected] | |
- run: cp ci/compat-Cargo.lock ./Cargo.lock | |
- run: cargo check --verbose --locked | |
test: | |
name: Test (stable) | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: dtolnay/rust-toolchain@stable | |
- run: cargo build --verbose | |
- run: cargo test --verbose --package rustc-rayon | |
- run: cargo test --verbose --package rustc-rayon-core | |
- run: ./ci/highlander.sh | |
if: github.repository != 'rust-lang/rustc-rayon' | |
fmt: | |
name: Format | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: dtolnay/[email protected] | |
with: | |
components: rustfmt | |
- run: cargo fmt --all --check |