From 6ba20bcbbd25934e1efc816dc2c50d1ce63c9e74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Steffan=20S=C3=B8lvsten?= Date: Thu, 23 Jan 2025 15:16:27 +0100 Subject: [PATCH] Fix Benchmark Regression Tests break because cbindgen is missing --- .github/workflows/benchmark.yml | 30 ++++++++++++++++++++++++------ 1 file changed, 24 insertions(+), 6 deletions(-) diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index 706741f1d..498fb875f 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -63,12 +63,18 @@ jobs: submodules: 'recursive' fetch-depth: '0' - - name: 'apt install' + - name: 'apt install boost' run: | sudo apt update sudo apt install libboost-all-dev - - name: 'pip install' + - name: 'apt install cargo (+ cbindgen)' + run: | + sudo apt update + sudo apt install cargo + cargo install --force cbindgen + + - name: 'pip install wget' run: | sudo pip install wget @@ -123,12 +129,18 @@ jobs: submodules: 'recursive' fetch-depth: '0' - - name: 'apt install' + - name: 'apt install boost' run: | sudo apt update sudo apt install libboost-all-dev - - name: 'pip install' + - name: 'apt install cargo (+ cbindgen)' + run: | + sudo apt update + sudo apt install cargo + cargo install --force cbindgen + + - name: 'pip install wget' run: | sudo pip install wget @@ -178,12 +190,18 @@ jobs: submodules: 'recursive' fetch-depth: '0' - - name: 'apt install' + - name: 'apt install boost' run: | sudo apt update sudo apt install libboost-all-dev - - name: 'pip install' + - name: 'apt install cargo (+ cbindgen)' + run: | + sudo apt update + sudo apt install cargo + cargo install --force cbindgen + + - name: 'pip install wget' run: | sudo pip install wget