mirror of
https://github.com/wez/wezterm.git
synced 2024-11-23 15:04:36 +03:00
ci: prep devtoolset 9 with SCL repo
This commit is contained in:
parent
f845df811b
commit
40c8fb1f0f
3
.github/workflows/gen_centos7.yml
vendored
3
.github/workflows/gen_centos7.yml
vendored
@ -23,6 +23,9 @@ jobs:
|
||||
runs-on: "ubuntu-latest"
|
||||
container: "centos:7"
|
||||
steps:
|
||||
- name: "Install SCL"
|
||||
shell: bash
|
||||
run: "yum install -y centos-release-scl-rh"
|
||||
- name: "Update compiler"
|
||||
shell: bash
|
||||
run: "yum install -y devtoolset-9-gcc devtoolset-9-gcc-c++"
|
||||
|
7
.github/workflows/gen_centos7_continuous.yml
vendored
7
.github/workflows/gen_centos7_continuous.yml
vendored
@ -25,6 +25,13 @@ jobs:
|
||||
runs-on: "ubuntu-latest"
|
||||
container: "centos:7"
|
||||
steps:
|
||||
- name: "Install SCL"
|
||||
shell: bash
|
||||
run: |
|
||||
export BUILD_REASON=Schedule
|
||||
yum install -y centos-release-scl-rh
|
||||
|
||||
|
||||
- name: "Update compiler"
|
||||
shell: bash
|
||||
run: |
|
||||
|
3
.github/workflows/gen_centos7_tag.yml
vendored
3
.github/workflows/gen_centos7_tag.yml
vendored
@ -14,6 +14,9 @@ jobs:
|
||||
runs-on: "ubuntu-latest"
|
||||
container: "centos:7"
|
||||
steps:
|
||||
- name: "Install SCL"
|
||||
shell: bash
|
||||
run: "yum install -y centos-release-scl-rh"
|
||||
- name: "Update compiler"
|
||||
shell: bash
|
||||
run: "yum install -y devtoolset-9-gcc devtoolset-9-gcc-c++"
|
||||
|
@ -155,6 +155,12 @@ class Target(object):
|
||||
def install_newer_compiler(self):
|
||||
steps = []
|
||||
if self.name == "centos7":
|
||||
steps.append(
|
||||
RunStep(
|
||||
"Install SCL",
|
||||
"yum install -y centos-release-scl-rh",
|
||||
)
|
||||
)
|
||||
steps.append(
|
||||
RunStep(
|
||||
"Update compiler",
|
||||
|
Loading…
Reference in New Issue
Block a user