From 7a1a11a35c30e807341ab27b92c5a222a72c92e7 Mon Sep 17 00:00:00 2001 From: Stefano Garzarella Date: Fri, 20 Dec 2024 09:54:24 +0100 Subject: [PATCH] CI: install bindgen-cli `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 --- .github/workflows/rust.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index b7c26f692..99162ed4f 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -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 @@ -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