Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 5 additions & 10 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
toolchain: ["stable", "beta", "nightly", "1.36.0"]
toolchain: ["stable", "beta", "nightly", "1.57.0"]
include:
- toolchain: stable
env:
Expand All @@ -21,17 +21,16 @@ jobs:
env:
DO_FUZZ: 1
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Install packages
run: sudo apt-get install -y binutils-dev libunwind8-dev libcurl4-openssl-dev libelf-dev libdw-dev cmake gcc libiberty-dev
if: matrix.os == 'ubuntu-latest'
run: sudo apt-get update -y && sudo apt-get install -y binutils-dev libunwind8-dev libcurl4-openssl-dev libelf-dev libdw-dev cmake gcc libiberty-dev

- name: Install toolchain
uses: actions-rs/toolchain@v1
uses: dtolnay/rust-toolchain@master
with:
profile: minimal
toolchain: ${{ matrix.toolchain }}
override: true

- name: Cargo build
run: cargo build --verbose
Expand All @@ -46,10 +45,6 @@ jobs:
if: matrix.toolchain == 'nightly'
run: cargo check --verbose --no-default-features

- name: Cargo test w/ union
if: matrix.toolchain == 'beta'
run: cargo test --verbose --features union

- name: Cargo test all features
if: matrix.toolchain == 'nightly'
run: cargo test --verbose --all-features
Expand Down
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name = "smallvec"
version = "1.9.0"
edition = "2018"
rust-version = "1.57"
authors = ["The Servo Project Developers"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/servo/rust-smallvec"
Expand Down
1 change: 0 additions & 1 deletion scripts/run_miri.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,4 @@ rustup component add miri
cargo miri setup

cargo miri test --verbose
cargo miri test --verbose --features union
cargo miri test --verbose --all-features