Skip to content

Commit

Permalink
WIP: Add CentOS 8 build
Browse files Browse the repository at this point in the history
  • Loading branch information
ralphlange committed Dec 25, 2024
1 parent bb188f3 commit ba47587
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/ci-scripts-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,8 @@ jobs:
matrix:
# Job names also name artifacts, character limitations apply
include:
- name: "CentOS-7"
image: centos:7
- name: "CentOS-8"
image: centos:8
cmp: gcc
configuration: default
extra: "CMD_CXXFLAGS=-std=c++11"
Expand All @@ -225,10 +225,12 @@ jobs:

steps:
- name: "Fix repo URLs"
# centos:7 is past EOL, repos are in the vault
if: matrix.image=='centos:7'
# centos:8 is past EOL, repos are in the vault
if: matrix.image=='centos:8'
run: |
sed -i -e "s|mirrorlist=|#mirrorlist=|" -e "s|#baseurl=http://mirror|baseurl=http://vault|" /etc/yum.repos.d/CentOS-Base.repo
sed -i -e "s|mirrorlist=|#mirrorlist=|" \
-e "s|#baseurl=http://mirror|baseurl=http://vault|" \
/etc/yum.repos.d/CentOS-Linux-{BaseOS,AppStream,Extras,Plus}.repo
- name: "Build newer Git"
# actions/checkout@v2 wants git >=2.18
# centos:7 has 1.8
Expand Down

0 comments on commit ba47587

Please sign in to comment.