Skip to content

[meta] update MSRV to 1.75, turn on asm support unconditionally #667

[meta] update MSRV to 1.75, turn on asm support unconditionally

[meta] update MSRV to 1.75, turn on asm support unconditionally #667

Workflow file for this run

name: Rust
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
env:
RUST_BACKTRACE: 1
jobs:
style-check:
name: Check Rust style
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: 1.75.0
components: rustfmt
- run: cargo fmt -- --check
stable-test:
name: Run all tests
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ "macos-latest" ]
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: 1.75.0
- run: >
cargo test
--release
--verbose
--workspace
stable-test-no-support:
name: Test on DTrace-less systems
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ "ubuntu-latest", "windows-latest" ]
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: 1.75.0
- run: >
cargo test
--release
--verbose
--workspace
--exclude does-it-work
--exclude test-json
--exclude test-unique-id
--exclude compile-errors
stable-test-no-op:
name: Test with probes disabled
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ "macos-latest" ]
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: 1.75.0
- run: >
cargo test
--release
--verbose
--no-default-features
--workspace
--exclude does-it-work
--exclude test-json
--exclude test-unique-id
recent-nightly:
name: Run tests on a recent nightly
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ "macos-latest" ]
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: nightly-2024-01-01
- run: >
cargo +nightly-2024-01-01 test
--release
--verbose
--workspace
--exclude compile-errors
--exclude dusty
recent-nightly-no-support:
name: Run tests on a recent nightly
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ "ubuntu-latest", "windows-latest" ]
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: nightly-2024-01-01
- run: >
cargo +nightly-2024-01-01 test
--release
--verbose
--workspace
--exclude compile-errors
--exclude does-it-work
--exclude test-json
--exclude test-unique-id
--exclude dusty