Skip to content

Commit

Permalink
Fix Centos 7 build
Browse files Browse the repository at this point in the history
Uses a fix for actions/checkout mentioned in actions/checkout#1809
  • Loading branch information
OCopping committed Jul 31, 2024
1 parent 328cf7b commit 23e444b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/ci-scripts-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,12 @@ jobs:
# actions/checkout@v2 wants git >=2.18
# centos:7 has 1.8
if: matrix.image=='centos:7'
# By default, Centos 7 uses mirrorlist.centos.org for yum
# mirrorlist.centos.org no longer exists (as of 1st July 2024), so need to update repolist
run: |
sed -i s/mirror.centos.org/vault.centos.org/g /etc/yum.repos.d/*.repo
sed -i s/^#.*baseurl=http/baseurl=http/g /etc/yum.repos.d/*.repo
sed -i s/^mirrorlist=http/#mirrorlist=http/g /etc/yum.repos.d/*.repo
yum -y install curl make gcc curl-devel expat-devel gettext-devel openssl-devel zlib-devel perl-ExtUtils-MakeMaker
curl https://mirrors.edge.kernel.org/pub/software/scm/git/git-2.29.0.tar.gz | tar -xz
cd git-*
Expand All @@ -265,6 +270,11 @@ jobs:
- uses: actions/checkout@v3
with:
submodules: true
env:
# For some reason the Node version was updated to Node20, which breaks stuff
# This allows the use of the "insecure" Node20
# THIS IS VERY MUCH A TEMPORARY FIX
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
- name: Automatic core dumper analysis
uses: mdavidsaver/ci-core-dumper@master
if: matrix.image!='centos:7'
Expand Down

0 comments on commit 23e444b

Please sign in to comment.