From 01f3604979abb930d323bb1a7b23268488fd0467 Mon Sep 17 00:00:00 2001 From: MoneroOcean Date: Mon, 12 Aug 2024 04:58:31 +0300 Subject: [PATCH] Fixed old binary build --- .github/workflows/deploy.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index b57a0ad8..c995da1b 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -122,11 +122,11 @@ jobs: apt-get install -y git build-essential automake libtool autoconf wget libgmp-dev libmpfr-dev texinfo bison flex gcc-9 g++-9 curl update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-9 60 --slave /usr/bin/g++ g++ /usr/bin/g++-9 curl -sSL https://cmake.org/files/v3.27/cmake-3.27.9-linux-x86_64.tar.gz | tar -xzC /opt - git clone --depth 1 git://sourceware.org/git/binutils-gdb.git - cd binutils-gdb && git checkout binutils-2_38 && CC=gcc ./configure && make -j$(nproc) && make install && cd .. + git clone --depth 1 git://sourceware.org/git/binutils-gdb.git /tmp/binutils-gdb + (cd /tmp/binutils-gdb && git checkout binutils-2_38 && CC=gcc ./configure && make -j$(nproc) && make install) - name: Checkout code run: | - git clone https://github.com/MoneroOcean/xmrig.git && cd xmrig + git clone https://github.com/MoneroOcean/xmrig.git . git checkout ${GITHUB_REF:10} - name: Build project on Ubuntu 12.04 run: |