Skip to content

update semver compat. deps, fix cbindgen CI diff check #559

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

Merged
merged 4 commits into from
Apr 13, 2025
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
16 changes: 8 additions & 8 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -264,29 +264,29 @@ jobs:

ensure-header-updated:
runs-on: ubuntu-latest
defaults:
run:
working-directory: librustls
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false

- name: Install nightly rust toolchain
uses: dtolnay/rust-toolchain@nightly
with:
# TODO(XXX): remove toolchain pinning once upstream issue is resolved:
# https://github.com/rust-lang/rust/issues/139715
toolchain: nightly-2025-03-25

- name: Install cbindgen
# Pin the installed version of cbindgen so that local usage can be
# reliably matched to CI. There can be non-semantic differences in
# output between point releases of cbindgen that will fail this check
# otherwise.
run: cargo install cbindgen --force --version 0.27.0

- run: touch src/lib.rs
run: cargo install cbindgen --force --version 0.28.0

- run: cbindgen --version
- name: Configure CMake
run: cmake -S librustls -B build

- run: cbindgen > src/rustls.h
- run: cmake --build build --target cbindgen

- run: git diff --exit-code

Expand Down
Loading