From 5dce0225b3c602555450053f9db0ed399621f1ba Mon Sep 17 00:00:00 2001 From: MoneroOcean Date: Wed, 3 Feb 2021 05:03:47 +0000 Subject: [PATCH] Updated to newer gcc for compat build --- .github/workflows/deploy.yml | 6 ++++-- src/version.h | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 20bca6b9..9c898a7d 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -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 . diff --git a/src/version.h b/src/version.h index 8dff136a..f9584411 100644 --- a/src/version.h +++ b/src/version.h @@ -28,7 +28,7 @@ #define APP_ID "xmrig" #define APP_NAME "XMRig" #define APP_DESC "XMRig miner" -#define APP_VERSION "6.8.1-mo1" +#define APP_VERSION "6.8.1-mo2" #define APP_DOMAIN "xmrig.com" #define APP_SITE "www.xmrig.com" #define APP_COPYRIGHT "Copyright (C) 2016-2021 xmrig.com"