|
1 | 1 | name: Integration test
|
2 | 2 |
|
3 | 3 | env:
|
4 |
| - version: 9.1.0 |
| 4 | + version: 9.2.0 |
5 | 5 |
|
6 | 6 | # runs on branches and pull requests; doesn't run on tags.
|
7 | 7 | on:
|
|
57 | 57 |
|
58 | 58 | - name: Download dependencies (SCIPOptSuite)
|
59 | 59 | shell: powershell
|
60 |
| - run: wget https://github.com/scipopt/scip/releases/download/$(echo "v${{env.version}}" | tr -d '.')/SCIPOptSuite-${{ env.version }}-win64-VS15.exe -outfile scipopt-installer.exe |
| 60 | + run: wget https://github.com/scipopt/scip/releases/download/$(echo "v${{env.version}}" | tr -d '.')/SCIPOptSuite-${{ env.version }}-win64.exe -outfile scipopt-installer.exe |
61 | 61 |
|
62 | 62 | - name: Install dependencies (SCIPOptSuite)
|
63 | 63 | shell: cmd
|
@@ -93,33 +93,13 @@ jobs:
|
93 | 93 | steps:
|
94 | 94 | - uses: actions/checkout@v3
|
95 | 95 |
|
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 |
| -
|
112 | 96 | - name: Install dependencies (SCIPOptSuite)
|
113 |
| - if: steps.cache-scip.outputs.cache-hit != 'true' |
114 | 97 | run: |
|
115 | 98 | 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 --skip-license --include-subdir |
| 102 | + mv SCIPOptSuite-${{ env.version }}-Darwin ${{ runner.workspace }}/scipoptsuite |
123 | 103 |
|
124 | 104 | - name: Setup python ${{ matrix.python-version }}
|
125 | 105 | uses: actions/setup-python@v4
|
|
0 commit comments