Updated to newer gcc for compat build

This commit is contained in:
MoneroOcean 2021-02-03 05:03:47 +00:00
parent 6cc0c74351
commit 5dce0225b3
2 changed files with 5 additions and 3 deletions

View file

@ -84,14 +84,16 @@ jobs:
steps:
- name: Prepare CentOS 7 tools
run: |
yum install -y epel-release
yum install -y git cmake gcc gcc-c++ libstdc++-static make openssl-devel libmicrohttpd-devel libuv-devel glibc-static libuv-static
yum install -y centos-release-scl epel-release
yum install -y devtoolset-9
yum install -y git cmake libstdc++-static openssl-devel libmicrohttpd-devel libuv-devel glibc-static libuv-static
- name: Checkout code
run: |
git clone https://github.com/MoneroOcean/xmrig.git .
git checkout ${GITHUB_REF:10}
- name: Build project on CentOS 7
run: |
source /opt/rh/devtoolset-9/enable
cmake . -DWITH_TLS=OFF -DWITH_HWLOC=OFF
make -j$(nproc)
cp src/config.json .