Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test cli and lib msrv separately #2625

Merged
merged 4 commits into from
Sep 6, 2023
Merged
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
20 changes: 14 additions & 6 deletions .github/workflows/bindgen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,17 +42,25 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Install msrv
uses: actions-rs/toolchain@v1
- name: Install msrv for lib
uses: dtolnay/rust-toolchain@master
with:
profile: minimal
# MSRV below is documented in Cargo.toml and README.md, please update those if you
# change this.
toolchain: 1.60.0
override: true

- name: Build with msrv
run: cargo +1.60.0 build --lib
- name: Test lib with msrv
run: cargo +1.60.0 test --package bindgen

- name: Install msrv for cli
uses: dtolnay/rust-toolchain@master
with:
# MSRV below is documented in Cargo.toml and README.md, please update those if you
# change this.
toolchain: 1.64.0

- name: Test cli with msrv
run: cargo +1.64.0 build --package bindgen-cli

minimal:
runs-on: ubuntu-latest
Expand Down
Loading