Skip to content

Commit

Permalink
Correct boost embeddement
Browse files Browse the repository at this point in the history
actions/runner-images#2667

Signed-off-by: Le Courtois Florent <florent.lecourtois@rte-france.com>
  • Loading branch information
Le Courtois Florent committed Mar 8, 2021
1 parent 5aa0067 commit a4affe7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ jobs:
name: Linux
runs-on: ubuntu-latest
steps:
- name: Install Boost
run: sudo apt update -y && sudo apt install -y libboost-all-dev

- name: Checkout sources
uses: actions/checkout@v1

Expand All @@ -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
Expand Down Expand Up @@ -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

Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/clang-tidy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit a4affe7

Please sign in to comment.