Skip to content

Commit

Permalink
Updates mac script to use precompiled version (#933)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
Opt-Mucca authored Dec 3, 2024
1 parent 083efc6 commit cfbd832
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 26 deletions.
32 changes: 6 additions & 26 deletions .github/workflows/integration-test.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Integration test

env:
version: 9.1.0
version: 9.2.0

# runs on branches and pull requests; doesn't run on tags.
on:
Expand Down Expand Up @@ -57,7 +57,7 @@ jobs:

- name: Download dependencies (SCIPOptSuite)
shell: powershell
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
run: wget https://github.com/scipopt/scip/releases/download/$(echo "v${{env.version}}" | tr -d '.')/SCIPOptSuite-${{ env.version }}-win64.exe -outfile scipopt-installer.exe

- name: Install dependencies (SCIPOptSuite)
shell: cmd
Expand Down 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 --skip-license --include-subdir
mv SCIPOptSuite-${{ env.version }}-Darwin ${{ runner.workspace }}/scipoptsuite
- name: Setup python ${{ matrix.python-version }}
uses: actions/setup-python@v4
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
- Added primal_dual_evolution recipe and a plot recipe
### Fixed
### Changed
- GitHub actions using Mac now use precompiled SCIP from latest release
### Removed

## 5.2.1 - 2024.10.29
Expand Down

0 comments on commit cfbd832

Please sign in to comment.