Skip to content

Commit

Permalink
Fixed merge
Browse files Browse the repository at this point in the history
  • Loading branch information
MoneroOcean committed Aug 11, 2024
1 parent 3a92ddf commit 050dd54
Showing 1 changed file with 23 additions and 3 deletions.
26 changes: 23 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,12 +110,32 @@ jobs:
build_lin_rh7:
name: Build CentOS 7 artifacts
runs-on: ubuntu-latest
container: centos:7
container: centos:7.9.2009
steps:
- name: Prepare CentOS 7 tools
run: |
sed -i 's/mirrorlist.centos.org/vault.centos.org/g' /etc/yum.repos.d/*.repo
cat /etc/yum.repos.d/*.repo
rm /etc/yum.repos.d/*.repo
echo '[base]' >/etc/yum.repos.d/CentOS-Base.repo
echo 'name=CentOS-$releasever - Base' >>/etc/yum.repos.d/CentOS-Base.repo
echo 'baseurl=http://vault.centos.org/7.9.2009/os/$basearch/' >>/etc/yum.repos.d/CentOS-Base.repo
echo 'gpgcheck=1' >>/etc/yum.repos.d/CentOS-Base.repo
echo 'gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7' >>/etc/yum.repos.d/CentOS-Base.repo
echo '[updates]' >>/etc/yum.repos.d/CentOS-Base.repo
echo 'name=CentOS-$releasever - Updates' >>/etc/yum.repos.d/CentOS-Base.repo
echo 'baseurl=http://vault.centos.org/7.9.2009/updates/$basearch/' >>/etc/yum.repos.d/CentOS-Base.repo
echo 'gpgcheck=1' >>/etc/yum.repos.d/CentOS-Base.repo
echo 'gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7' >>/etc/yum.repos.d/CentOS-Base.repo
echo '[extras]' >>/etc/yum.repos.d/CentOS-Base.repo
echo 'name=CentOS-$releasever - Extras' >>/etc/yum.repos.d/CentOS-Base.repo
echo 'baseurl=http://vault.centos.org/7.9.2009/extras/$basearch/' >>/etc/yum.repos.d/CentOS-Base.repo
echo 'gpgcheck=1' >>/etc/yum.repos.d/CentOS-Base.repo
echo 'gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7' >>/etc/yum.repos.d/CentOS-Base.repo
echo '[centosplus]' >>/etc/yum.repos.d/CentOS-Base.repo
echo 'name=CentOS-$releasever - Plus' >>/etc/yum.repos.d/CentOS-Base.repo
echo 'baseurl=http://vault.centos.org/7.9.2009/centosplus/$basearch/' >>/etc/yum.repos.d/CentOS-Base.repo
echo 'gpgcheck=1' >>/etc/yum.repos.d/CentOS-Base.repo
echo 'enabled=0' >>/etc/yum.repos.d/CentOS-Base.repo
echo 'gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7' >>/etc/yum.repos.d/CentOS-Base.repo
yum install -y centos-release-scl epel-release
yum install -y devtoolset-9
yum install -y wget git cmake3 automake libtool autoconf libstdc++-static glibc-static perl-IPC-Cmd
Expand Down

0 comments on commit 050dd54

Please sign in to comment.