Skip to content

Commit

Permalink
CI: install bindgen-cli
Browse files Browse the repository at this point in the history
`bindgen` is used in our build process to build libtcgtpm.
CI recently started to fail because it was not installed.

Add a step to make sure `bindgen` is installed correctly in our
workflows.

Signed-off-by: Stefano Garzarella <[email protected]>
  • Loading branch information
stefano-garzarella committed Dec 20, 2024
1 parent 110a811 commit 7a1a11a
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@ jobs:
override: true
components: rustfmt, rust-src, clippy

- name: Install bindgen-cli
uses: actions-rs/cargo@v1
with:
command: install
args: bindgen-cli

- name: Install TPM 2.0 Reference Implementation build dependencies
run: sudo apt install -y autoconf autoconf-archive pkg-config build-essential automake

Expand Down Expand Up @@ -143,6 +149,12 @@ jobs:
override: true
components: rustfmt, rust-src, clippy

- name: Install bindgen-cli
uses: actions-rs/cargo@v1
with:
command: install
args: bindgen-cli

- name: Install TPM 2.0 Reference Implementation build dependencies
run: sudo apt install -y autoconf autoconf-archive pkg-config build-essential automake

Expand Down

0 comments on commit 7a1a11a

Please sign in to comment.