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

Fix CI #868

Merged
merged 4 commits into from
Aug 25, 2023
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
14 changes: 7 additions & 7 deletions .github/workflows/cbindgen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@ jobs:

- name: Run rustfmt
run: |
cargo fmt --check
cargo +stable fmt --check

- name: Run clippy
run: |
cargo clippy --workspace -- -D warnings
cargo +stable clippy --workspace -- -D warnings

- name: Install minimum supported Rust version
id: msrv
uses: dtolnay/rust-toolchain@1.57
uses: dtolnay/rust-toolchain@1.64

- name: Build with minimum supported Rust version
run: |
Expand Down Expand Up @@ -59,18 +59,18 @@ jobs:

- name: Build
run: |
cargo build --verbose
cargo +stable build --verbose

- name: Build no-default-features
run: |
cargo build --verbose --no-default-features
cargo +stable build --verbose --no-default-features

- name: Test package
env:
CBINDGEN_TEST_VERIFY: 1
run: |
cargo package --verbose
(cd target/package/cbindgen-$(cargo run -- --version | cut -d ' ' -f 2) && cargo test --verbose)
cargo +stable package --verbose
(cd target/package/cbindgen-$(cargo +stable run -- --version | cut -d ' ' -f 2) && cargo +stable test --verbose)

- name: Install nightly Rust
uses: dtolnay/rust-toolchain@nightly
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ jobs:

- name: semver
run: |
cargo install cargo-semver-checks --locked
cargo +stable install cargo-semver-checks --locked
cargo semver-checks check-release

- name: Build cbindgen
run: |
cargo build --release
cargo +stable build --release

- name: Strip cbindgen
run: |
Expand Down
Loading