File tree Expand file tree Collapse file tree 1 file changed +4
-24
lines changed Expand file tree Collapse file tree 1 file changed +4
-24
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments