From 408b75a3c91f5670fa5139baacfabf29d41b8bfd Mon Sep 17 00:00:00 2001 From: Alex Kontos Date: Thu, 23 Jun 2022 12:47:42 +0100 Subject: [PATCH] [WFX-334] Manually build cbindgen to get latest version. --- .github/workflows/pull.yml | 4 ++++ .github/workflows/push.yml | 2 ++ 2 files changed, 6 insertions(+) diff --git a/.github/workflows/pull.yml b/.github/workflows/pull.yml index 8147be0295cf4..d8cc982f47b44 100644 --- a/.github/workflows/pull.yml +++ b/.github/workflows/pull.yml @@ -47,6 +47,7 @@ jobs: - name: 💿 Setup rust run: | rustup target add x86_64-pc-windows-msvc + cargo install cbindgen - name: ⏬ Setup win-cross run: | @@ -105,6 +106,7 @@ jobs: - name: 💿 Build dependencies installation run: | rustup target add ${{ env.ARCH }} + cargo install cbindgen sudo apt install nasm yasm aria2c https://www.7-zip.org/a/7z2107-linux-x64.tar.xz tar xf 7z2107-linux-x64.tar.xz @@ -162,6 +164,7 @@ jobs: - name: 💿 Build dependencies installation run: | rustup target add ${{ env.ARCH }} + cargo install cbindgen aria2c https://www.7-zip.org/a/7z2107-linux-x64.tar.xz tar xf 7z2107-linux-x64.tar.xz sudo mv 7zz /usr/local/bin/7z @@ -225,6 +228,7 @@ jobs: aria2c https://www.7-zip.org/a/7z2107-linux-x64.tar.xz tar xf 7z2107-linux-x64.tar.xz sudo mv 7zz /usr/local/bin/7z + cargo install cbindgen - name: 🏗 Build run: | diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 113161f0d08f3..83d15ff38d5ce 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -48,6 +48,7 @@ jobs: - name: 💿 Setup rust run: | rustup target add x86_64-pc-windows-msvc + cargo install cbindgen - name: 💿 Setup jsign run: | @@ -305,6 +306,7 @@ jobs: aria2c https://www.7-zip.org/a/7z2107-linux-x64.tar.xz tar xf 7z2107-linux-x64.tar.xz sudo mv 7zz /usr/local/bin/7z + cargo install cbindgen - name: 🏗 Build run: |