From b709511b488d738862907cb32ddd3fa50fb4d193 Mon Sep 17 00:00:00 2001 From: Florian OMNES <florian.omnes@rte-france.com> Date: Tue, 23 Jul 2024 09:58:03 +0200 Subject: [PATCH 1/2] Try using devtoolset-11 on CentOS7 --- .github/workflows/centos7.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/centos7.yml b/.github/workflows/centos7.yml index 23eb7e8ce7..a53fba902d 100644 --- a/.github/workflows/centos7.yml +++ b/.github/workflows/centos7.yml @@ -6,6 +6,7 @@ on: push: branches: - develop + - fix/centos7 - dependabot/* schedule: - cron: '21 2 * * *' @@ -44,7 +45,7 @@ jobs: - name: Install gcc 10 run: | yum install -y centos-release-scl - yum install -y devtoolset-10-gcc* + yum install -y devtoolset-11-gcc* - name: Install cmake 3.28 run: pip3 install cmake==3.28.4 @@ -94,7 +95,7 @@ jobs: - name: Configure run: | - source /opt/rh/devtoolset-10/enable + source /opt/rh/devtoolset-11/enable source /opt/rh/rh-git227/enable cmake -B _build -S src \ -DCMAKE_C_COMPILER_LAUNCHER=ccache \ @@ -110,7 +111,7 @@ jobs: - name: Build run: | - source /opt/rh/devtoolset-10/enable + source /opt/rh/devtoolset-11/enable source /opt/rh/rh-git227/enable cmake --build _build --config Release -j$(nproc) ccache -s From 9ec0eb907ad1756f5968a66ceba266fcf21446a8 Mon Sep 17 00:00:00 2001 From: Florian OMNES <florian.omnes@rte-france.com> Date: Tue, 23 Jul 2024 10:34:44 +0200 Subject: [PATCH 2/2] Revert some --- .github/workflows/centos7.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/centos7.yml b/.github/workflows/centos7.yml index a53fba902d..4d7700e203 100644 --- a/.github/workflows/centos7.yml +++ b/.github/workflows/centos7.yml @@ -6,7 +6,6 @@ on: push: branches: - develop - - fix/centos7 - dependabot/* schedule: - cron: '21 2 * * *'