Skip to content

Commit e0d77ff

Browse files
committed
Set STABLESOLVER_USE_HIGHS to OFF by default
1 parent 673f47a commit e0d77ff

File tree

5 files changed

+1094
-8
lines changed

5 files changed

+1094
-8
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
strategy:
1212
fail-fast: false
1313
matrix:
14-
os: [ubuntu-latest, windows-latest, macos-13, macos-latest]
14+
os: [ubuntu-latest, windows-latest, macos-latest]
1515
python-version: ["3.8"]
1616

1717
env:
@@ -34,11 +34,11 @@ jobs:
3434
if: ${{ (matrix.os == 'macos-13') || (matrix.os == 'macos-latest') }}
3535
- name: Download data
3636
run: |
37-
python3 -m pip install gdown
37+
python3 -m pip install -r requirements.txt
3838
python3 scripts/download_data.py
3939
- name: Build
4040
run: |
41-
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release
41+
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DSTABLESOLVER_USE_HIGHS=ON
4242
cmake --build build --config Release --parallel
4343
cmake --install build --config Release --prefix install
4444
- name: Run tests
@@ -50,7 +50,7 @@ jobs:
5050
git checkout master
5151
- name: Build
5252
run: |
53-
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release
53+
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DSTABLESOLVER_USE_HIGHS=ON
5454
cmake --build build --config Release --parallel
5555
cmake --install build --config Release --prefix install
5656
- name: Run tests

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ option(STABLESOLVER_BUILD_MAIN "Build main" ON)
66
option(STABLESOLVER_BUILD_TEST "Build the unit tests" ON)
77

88
option(STABLESOLVER_USE_CBC "Use Cbc" OFF)
9-
option(STABLESOLVER_USE_HIGHS "Use HiGHS" ON)
9+
option(STABLESOLVER_USE_HIGHS "Use HiGHS" OFF)
1010
option(STABLESOLVER_USE_XPRESS "Use FICO Xpress" OFF)
1111

1212
# Avoid FetchContent warning.

0 commit comments

Comments
 (0)