Use devtoolset-9 on CentOS 7

This commit is contained in:
jonjenssen 2021-09-27 13:18:40 +02:00 committed by GitHub
parent d09ae4e1cb
commit 72dcc46e27
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,12 +30,12 @@ jobs:
yum install -y mesa-libGL-devel
yum install -y freeglut-devel
yum install -y devtoolset-7
yum install -y devtoolset-9
yum install -y rh-python36
- name: Build QtCharts
run: |
source /opt/rh/devtoolset-7/enable
source /opt/rh/devtoolset-9/enable
git clone git://code.qt.io/qt/qtcharts.git
cd qtcharts/
git checkout v5.9.7
@ -55,7 +55,7 @@ jobs:
echo "::set-output name=PYTHON_EXECUTABLE::$(python -c 'import sys; import pathlib; print (pathlib.PurePath(sys.executable).as_posix())')"
- name: Build ResInsight
run: |
source /opt/rh/devtoolset-7/enable
source /opt/rh/devtoolset-9/enable
source /opt/rh/rh-python36/enable
cmake3 --version