Skip to content

Commit cfbd832

Browse files
authored
Updates mac script to use precompiled version (#933)
* Updates mac script to use precompiled version * Adds license skip * Update version to 9.2.0. Add CHANGELOG entry * Change nae of windows exe installer
1 parent 083efc6 commit cfbd832

File tree

2 files changed

+7
-26
lines changed

2 files changed

+7
-26
lines changed

.github/workflows/integration-test.yml

Lines changed: 6 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Integration test
22

33
env:
4-
version: 9.1.0
4+
version: 9.2.0
55

66
# runs on branches and pull requests; doesn't run on tags.
77
on:
@@ -57,7 +57,7 @@ jobs:
5757

5858
- name: Download dependencies (SCIPOptSuite)
5959
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
6161

6262
- name: Install dependencies (SCIPOptSuite)
6363
shell: cmd
@@ -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 --skip-license --include-subdir
102+
mv SCIPOptSuite-${{ env.version }}-Darwin ${{ runner.workspace }}/scipoptsuite
123103
124104
- name: Setup python ${{ matrix.python-version }}
125105
uses: actions/setup-python@v4

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
- Added primal_dual_evolution recipe and a plot recipe
99
### Fixed
1010
### Changed
11+
- GitHub actions using Mac now use precompiled SCIP from latest release
1112
### Removed
1213

1314
## 5.2.1 - 2024.10.29

0 commit comments

Comments
 (0)