Skip to content

Commit b8f22ff

Browse files
committed
Updates mac script to use precompiled version
1 parent 083efc6 commit b8f22ff

File tree

1 file changed

+4
-24
lines changed

1 file changed

+4
-24
lines changed

.github/workflows/integration-test.yml

Lines changed: 4 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -93,33 +93,13 @@ jobs:
9393
steps:
9494
- uses: actions/checkout@v3
9595

96-
- name: Cache dependencies (SCIPOptSuite)
97-
id: cache-scip
98-
uses: actions/cache@v2
99-
with:
100-
path: |
101-
${{ runner.workspace }}/scipoptsuite
102-
~/Library/Caches/Homebrew/tbb--*
103-
/usr/local/opt/tbb*
104-
~/Library/Caches/Homebrew/downloads/*--tbb-*
105-
~/Library/Caches/Homebrew/boost--*
106-
/usr/local/opt/boost*
107-
~/Library/Caches/Homebrew/downloads/*--boost-*
108-
key: ${{ runner.os }}-scipopt-${{ env.version }}-${{ hashFiles('**/lockfiles') }}
109-
restore-keys: |
110-
${{ runner.os }}-scipopt-${{ env.version }}-
111-
11296
- name: Install dependencies (SCIPOptSuite)
113-
if: steps.cache-scip.outputs.cache-hit != 'true'
11497
run: |
11598
brew install tbb boost bison
116-
wget --quiet --no-check-certificate https://github.com/scipopt/scip/releases/download/$(echo "v${{env.version}}" | tr -d '.')/scipoptsuite-${{ env.version }}.tgz
117-
tar xfz scipoptsuite-${{ env.version }}.tgz
118-
cd scipoptsuite-${{ env.version }}
119-
mkdir build
120-
cd build
121-
cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=${{ runner.workspace }}/scipoptsuite -DIPOPT=off -DSYM=none -DTPI=tny -DREADLINE=off
122-
make install -j
99+
wget --quiet --no-check-certificate https://github.com/scipopt/scip/releases/download/$(echo "v${{env.version}}" | tr -d '.')/SCIPOptSuite-${{ env.version }}-Darwin.sh
100+
chmod +x SCIPOptSuite-${{ env.version }}-Darwin.sh
101+
./SCIPOptSuite-${{ env.version }}-Darwin.sh
102+
mv SCIPOptSuite-${{ env.version }}-Darwin ${{ runner.workspace }}/scipoptsuite
123103
124104
- name: Setup python ${{ matrix.python-version }}
125105
uses: actions/setup-python@v4

0 commit comments

Comments
 (0)