1
1
mirror of https://github.com/wez/wezterm.git synced 2024-11-27 12:23:46 +03:00

ci: prep devtoolset 9 with SCL repo

This commit is contained in:
Wez Furlong 2021-08-19 21:31:46 -07:00
parent f845df811b
commit 40c8fb1f0f
4 changed files with 19 additions and 0 deletions

View File

@ -23,6 +23,9 @@ jobs:
runs-on: "ubuntu-latest" runs-on: "ubuntu-latest"
container: "centos:7" container: "centos:7"
steps: steps:
- name: "Install SCL"
shell: bash
run: "yum install -y centos-release-scl-rh"
- name: "Update compiler" - name: "Update compiler"
shell: bash shell: bash
run: "yum install -y devtoolset-9-gcc devtoolset-9-gcc-c++" run: "yum install -y devtoolset-9-gcc devtoolset-9-gcc-c++"

View File

@ -25,6 +25,13 @@ jobs:
runs-on: "ubuntu-latest" runs-on: "ubuntu-latest"
container: "centos:7" container: "centos:7"
steps: steps:
- name: "Install SCL"
shell: bash
run: |
export BUILD_REASON=Schedule
yum install -y centos-release-scl-rh
- name: "Update compiler" - name: "Update compiler"
shell: bash shell: bash
run: | run: |

View File

@ -14,6 +14,9 @@ jobs:
runs-on: "ubuntu-latest" runs-on: "ubuntu-latest"
container: "centos:7" container: "centos:7"
steps: steps:
- name: "Install SCL"
shell: bash
run: "yum install -y centos-release-scl-rh"
- name: "Update compiler" - name: "Update compiler"
shell: bash shell: bash
run: "yum install -y devtoolset-9-gcc devtoolset-9-gcc-c++" run: "yum install -y devtoolset-9-gcc devtoolset-9-gcc-c++"

View File

@ -155,6 +155,12 @@ class Target(object):
def install_newer_compiler(self): def install_newer_compiler(self):
steps = [] steps = []
if self.name == "centos7": if self.name == "centos7":
steps.append(
RunStep(
"Install SCL",
"yum install -y centos-release-scl-rh",
)
)
steps.append( steps.append(
RunStep( RunStep(
"Update compiler", "Update compiler",