Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-13, macos-latest]
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ["3.8"]

env:
Expand All @@ -34,11 +34,11 @@ jobs:
if: ${{ (matrix.os == 'macos-13') || (matrix.os == 'macos-latest') }}
- name: Download data
run: |
python3 -m pip install gdown
python3 -m pip install -r requirements.txt
python3 scripts/download_data.py
- name: Build
run: |
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DSTABLESOLVER_USE_HIGHS=ON
cmake --build build --config Release --parallel
cmake --install build --config Release --prefix install
- name: Run tests
Expand All @@ -50,7 +50,7 @@ jobs:
git checkout master
- name: Build
run: |
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DSTABLESOLVER_USE_HIGHS=ON
cmake --build build --config Release --parallel
cmake --install build --config Release --prefix install
- name: Run tests
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ option(STABLESOLVER_BUILD_MAIN "Build main" ON)
option(STABLESOLVER_BUILD_TEST "Build the unit tests" ON)

option(STABLESOLVER_USE_CBC "Use Cbc" OFF)
option(STABLESOLVER_USE_HIGHS "Use HiGHS" ON)
option(STABLESOLVER_USE_HIGHS "Use HiGHS" OFF)
option(STABLESOLVER_USE_XPRESS "Use FICO Xpress" OFF)

# Avoid FetchContent warning.
Expand Down
Loading
Loading