Skip to content

Bump zerocopy from 0.7.35 to 0.8.5 #750

Bump zerocopy from 0.7.35 to 0.8.5

Bump zerocopy from 0.7.35 to 0.8.5 #750

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.80.0
components: rustfmt
- run: cargo fmt -- --check
stable-test:
name: Run most tests
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ "macos-latest" ]
# Test on MSRV and stable.
toolchain: [ "1.75.0", "stable" ]
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.toolchain }}
- run: >
cargo +${{ matrix.toolchain }} test
--release
--verbose
--workspace
--exclude compile-errors
trybuild-test:
name: Run trybuild tests
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ "macos-latest" ]
# Test on the pinned rust-toolchain version.
toolchain: [ "1.80.0" ]
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.toolchain }}
- run: >
cargo +${{ matrix.toolchain }} test
--release
--verbose
--package compile-errors
stable-test-no-support:
name: Test on DTrace-less systems
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ "ubuntu-latest", "windows-latest" ]
# Test on MSRV and stable.
toolchain: [ "1.75.0", "stable" ]
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.toolchain }}
- run: >
cargo +${{ matrix.toolchain }} 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: stable
- run: >
cargo +stable test
--release
--verbose
--no-default-features
--workspace
--exclude does-it-work
--exclude test-json
--exclude test-unique-id
--exclude compile-errors
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