From 9193912ed684a7cf82a64ff255afb937289e75d1 Mon Sep 17 00:00:00 2001 From: Jason Marechal Date: Tue, 10 Oct 2023 10:21:29 +0200 Subject: [PATCH] Install cmake --- .github/workflows/centos7-system-deps-build.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/centos7-system-deps-build.yml b/.github/workflows/centos7-system-deps-build.yml index 15cd4c6d81..07b9fac34e 100644 --- a/.github/workflows/centos7-system-deps-build.yml +++ b/.github/workflows/centos7-system-deps-build.yml @@ -95,11 +95,16 @@ jobs: with: cmake: 'cmake3' + - name: Setup cmake + uses: jwlawson/actions-setup-cmake@v1.13 + with: + cmake-version: '3.22.x' + - name: Configure run: | export LD_LIBRARY_PATH=/usr/lib64/openmpi/lib:$LD_LIBRARY_PATH export PATH=/usr/lib64/openmpi/bin:$PATH - cmake3 -B _build -S . \ + cmake -B _build -S . \ -DDEPS_INSTALL_DIR=rte-antares-deps-Release \ -DBUILD_TESTING=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=_install -DBUILD_UI=OFF -DALLOW_RUN_AS_ROOT=ON @@ -107,7 +112,7 @@ jobs: run: | export LD_LIBRARY_PATH=/usr/lib64/openmpi/lib:$LD_LIBRARY_PATH export PATH=/usr/lib64/openmpi/bin:$PATH - cmake3 --build _build --config Release -j2 --target install + cmake --build _build --config Release -j2 --target install - name: Running unit tests run: |