diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a6ef8c985..7f42f5341 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 @@ -57,6 +59,9 @@ jobs: env: SONAR_SCANNER_VERSION: 3.3.0.1492 + - name: Install Boost + run: sudo apt install -y libboost-all-dev + - name: Checkout sources uses: actions/checkout@v1 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