From cdfea36224d393a9decc906d3635027ff228efd7 Mon Sep 17 00:00:00 2001 From: Le Courtois Florent Date: Mon, 8 Mar 2021 09:26:18 +0100 Subject: [PATCH] Correct boost embeddement actions/virtual-environments#2667 Signed-off-by: Le Courtois Florent --- .github/workflows/ci.yml | 4 +++- .github/workflows/clang-tidy.yml | 6 ++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a6ef8c985..4191bef4e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,6 +11,9 @@ jobs: name: Linux runs-on: ubuntu-latest steps: + - name: Install Boost + run: sudo apt install -y libboost-all-dev + - name: Checkout sources uses: actions/checkout@v1 @@ -20,7 +23,6 @@ jobs: -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER=g++-8 -DCMAKE_C_COMPILER=gcc-8 - -DCMAKE_PREFIX_PATH=$BOOST_ROOT_1_72_0 -DCMAKE_INSTALL_PREFIX=$GITHUB_WORKSPACE/metrix-simulator/build-linux/install - name: Build diff --git a/.github/workflows/clang-tidy.yml b/.github/workflows/clang-tidy.yml index b3dbd8428..5ed86fc66 100644 --- a/.github/workflows/clang-tidy.yml +++ b/.github/workflows/clang-tidy.yml @@ -9,9 +9,12 @@ jobs: name: clang-tidy runs-on: ubuntu-latest steps: + - name: Install Boost + run: sudo apt install -y libboost-all-dev + - name: Install clang-tidy run: | - sudo apt-get install -y clang-tidy-9 + sudo apt install -y clang-tidy-9 sudo update-alternatives --install /usr/bin/clang-tidy clang-tidy /usr/bin/clang-tidy-9 100 - name: Checkout sources @@ -23,7 +26,6 @@ jobs: -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_COMPILER=g++-8 -DCMAKE_C_COMPILER=gcc-8 - -DCMAKE_PREFIX_PATH=$BOOST_ROOT_1_72_0 -DCMAKE_EXPORT_COMPILE_COMMANDS=ON - name: Clang Tidy