Skip to content

Commit

Permalink
[CI] Replace cc7 builds with centos 7, part 2.
Browse files Browse the repository at this point in the history
  • Loading branch information
simonmichal committed Oct 4, 2022
1 parent 775d7dd commit 3f187c9
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions .github/workflows/build.yml
Expand Up @@ -102,12 +102,14 @@ jobs:
cmake-centos7-updated-python:

runs-on: ubuntu-latest
container: gitlab-registry.cern.ch/linuxsupport/cc7-base:latest
container: centos:7

steps:
- name: Install external dependencies with yum
run: |
yum update -y
yum install -y epel-release centos-release-scl
yum clean all
yum install --nogpg -y \
cmake3 \
make \
Expand Down Expand Up @@ -168,13 +170,15 @@ jobs:
cmake-centos7-python2:

runs-on: ubuntu-latest
container: gitlab-registry.cern.ch/linuxsupport/cc7-base:latest
container: centos:7

steps:
# python2-pip is broken on CentOS so can't upgrade pip or setuptools
- name: Install external dependencies with yum
run: |
yum update -y
yum install -y epel-release centos-release-scl
yum clean all
yum install --nogpg -y \
cmake3 \
make \
Expand Down Expand Up @@ -364,7 +368,7 @@ jobs:
rpm-centos7:

runs-on: ubuntu-latest
container: gitlab-registry.cern.ch/linuxsupport/cc7-base:latest
container: centos:7

steps:
- name: Overwrite /etc/yum.repos.d/epel.repo to remove epel-source
Expand All @@ -375,6 +379,8 @@ jobs:
- name: Install external dependencies with yum
run: |
yum update -y
yum install -y epel-release centos-release-scl
yum clean all
yum install --nogpg -y \
gcc-c++ \
rpm-build \
Expand Down Expand Up @@ -563,12 +569,14 @@ jobs:
sdist-centos7:

runs-on: ubuntu-latest
container: gitlab-registry.cern.ch/linuxsupport/cc7-base:latest
container: centos:7

steps:
- name: Install external dependencies with yum
run: |
yum update -y
yum install -y epel-release centos-release-scl
yum clean all
yum install --nogpg -y \
cmake3 \
gcc-c++ \
Expand Down Expand Up @@ -617,12 +625,14 @@ jobs:
sdist-centos7-updated-python:

runs-on: ubuntu-latest
container: gitlab-registry.cern.ch/linuxsupport/cc7-base:latest
container: centos:7

steps:
- name: Install external dependencies with yum
run: |
yum update -y
yum install -y epel-release centos-release-scl
yum clean all
yum install --nogpg -y \
cmake3 \
gcc-c++ \
Expand Down

0 comments on commit 3f187c9

Please sign in to comment.