Skip to content

Commit

Permalink
use devtoolset 11 for centos
Browse files Browse the repository at this point in the history
  • Loading branch information
payetvin committed Sep 27, 2024
1 parent 3ebda61 commit 91678db
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/centos7.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,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*
- uses: ./.github/workflows/install-cmake-328

Expand Down Expand Up @@ -80,7 +80,7 @@ jobs:
- name: Configure
run: |
source /opt/rh/devtoolset-10/enable
source /opt/rh/devtoolset-11/enable
cmake -B _build -S src \
-DCMAKE_C_COMPILER_LAUNCHER=ccache \
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache \
Expand All @@ -94,7 +94,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
Expand Down

0 comments on commit 91678db

Please sign in to comment.