From b8f22ff73d5667a87e8db3fcf6024d737bb202c9 Mon Sep 17 00:00:00 2001 From: Mark Turner Date: Tue, 3 Dec 2024 10:46:45 +0100 Subject: [PATCH] Updates mac script to use precompiled version --- .github/workflows/integration-test.yml | 28 ++++---------------------- 1 file changed, 4 insertions(+), 24 deletions(-) diff --git a/.github/workflows/integration-test.yml b/.github/workflows/integration-test.yml index d78162389..e0a1061f1 100644 --- a/.github/workflows/integration-test.yml +++ b/.github/workflows/integration-test.yml @@ -93,33 +93,13 @@ jobs: steps: - uses: actions/checkout@v3 - - name: Cache dependencies (SCIPOptSuite) - id: cache-scip - uses: actions/cache@v2 - with: - path: | - ${{ runner.workspace }}/scipoptsuite - ~/Library/Caches/Homebrew/tbb--* - /usr/local/opt/tbb* - ~/Library/Caches/Homebrew/downloads/*--tbb-* - ~/Library/Caches/Homebrew/boost--* - /usr/local/opt/boost* - ~/Library/Caches/Homebrew/downloads/*--boost-* - key: ${{ runner.os }}-scipopt-${{ env.version }}-${{ hashFiles('**/lockfiles') }} - restore-keys: | - ${{ runner.os }}-scipopt-${{ env.version }}- - - name: Install dependencies (SCIPOptSuite) - if: steps.cache-scip.outputs.cache-hit != 'true' run: | brew install tbb boost bison - wget --quiet --no-check-certificate https://github.com/scipopt/scip/releases/download/$(echo "v${{env.version}}" | tr -d '.')/scipoptsuite-${{ env.version }}.tgz - tar xfz scipoptsuite-${{ env.version }}.tgz - cd scipoptsuite-${{ env.version }} - mkdir build - cd build - cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=${{ runner.workspace }}/scipoptsuite -DIPOPT=off -DSYM=none -DTPI=tny -DREADLINE=off - make install -j + wget --quiet --no-check-certificate https://github.com/scipopt/scip/releases/download/$(echo "v${{env.version}}" | tr -d '.')/SCIPOptSuite-${{ env.version }}-Darwin.sh + chmod +x SCIPOptSuite-${{ env.version }}-Darwin.sh + ./SCIPOptSuite-${{ env.version }}-Darwin.sh + mv SCIPOptSuite-${{ env.version }}-Darwin ${{ runner.workspace }}/scipoptsuite - name: Setup python ${{ matrix.python-version }} uses: actions/setup-python@v4