From 883cd86fc07abfc015297f601712b528af75ce8f Mon Sep 17 00:00:00 2001 From: msBRF65 Date: Thu, 23 May 2024 03:44:56 +0000 Subject: [PATCH] chore: rm copy , split job --- .github/workflows/build-test.yaml | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build-test.yaml b/.github/workflows/build-test.yaml index d3c746d..934d003 100644 --- a/.github/workflows/build-test.yaml +++ b/.github/workflows/build-test.yaml @@ -15,8 +15,8 @@ jobs: uses: actions/checkout@v2 with: submodule: true - - name: Install dependencies - run: | + - name: Install Gurobi + run: | cd /opt && \ export GRB_VERSION=9.1.1 && \ export GRB_SHORT_VERSION=9.1 && \ @@ -36,14 +36,9 @@ jobs: zip \ && sudo update-ca-certificates \ && sudo rm -rf /var/lib/apt/lists/* && \ - cd /opt/gurobi_server && \ - cp /opt/gurobi_server/linux64/bin/grb_rsm ./linux64/bin/grb_rsm && \ - cp /opt/gurobi_server/linux64/bin/grbcluster ./linux64/bin/grbcluster && \ - cp /opt/gurobi_server/linux64/bin/grb_rsm.cnf ./linux64/bin/grb_rsm.cnf && \ - cp /opt/gurobi_server/linux64/resources/grb_rsm ./linux64/resources/grb_rsm && \ - cp /opt/gurobi_server/linux64/EULA.pdf ./linux64/EULA.pdf && \ export GRB_HOME=/opt/gurobi_server/linux64 && \ - export PATH="${PATH}:${GRB_HOME}/bin" && \ + export PATH="${PATH}:${GRB_HOME}/bin" + - name: Install dependencies wget -qO- "https://cmake.org/files/v3.20/cmake-3.20.2-linux-x86_64.tar.gz" | tar --strip-components=1 -xz -C /usr/local && \ sudo apt-get update && \ sudo apt-get install -y \