Skip to content

Commit

Permalink
Updates mac script to use precompiled version
Browse files Browse the repository at this point in the history
  • Loading branch information
Opt-Mucca committed Dec 3, 2024
1 parent 083efc6 commit b8f22ff
Showing 1 changed file with 4 additions and 24 deletions.
28 changes: 4 additions & 24 deletions .github/workflows/integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b8f22ff

Please sign in to comment.