Skip to content

Commit

Permalink
Use devtoolset-11 CentOS7
Browse files Browse the repository at this point in the history
  • Loading branch information
flomnes committed Sep 27, 2024
1 parent 3ebda61 commit b508cfa
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/centos7.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ on:
push:
branches:
- develop
- fix/centos7-devtoolset-11

schedule:
- cron: '21 2 * * *'
workflow_call:
Expand Down Expand Up @@ -43,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*
- uses: ./.github/workflows/install-cmake-328

Expand Down Expand Up @@ -80,7 +82,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 +96,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 b508cfa

Please sign in to comment.