Skip to content

Commit 77f5c5a

Browse files
committed
install blas on runner
1 parent f5e1a80 commit 77f5c5a

2 files changed

Lines changed: 26 additions & 1 deletion

File tree

.github/workflows/hipo-macos-510.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,17 @@ jobs:
6060
-DALL_TESTS=${{ matrix.all_tests}} \
6161
-DCMAKE_INSTALL_PREFIX=${{runner.workspace}}/installs
6262
63+
- name: Build
64+
working-directory: ${{runner.workspace}}/build
65+
run: |
66+
cmake --build . --parallel
67+
68+
- name: Test executable
69+
working-directory: ${{runner.workspace}}/build
70+
run: |
71+
./bin/highs --solver=hipo \
72+
${{runner.workspace}}/highs-tests/HiGHS/check/instances/afiro.mps
73+
6374
- name: Ctest
6475
working-directory: ${{runner.workspace}}/build
6576
run: |

.github/workflows/hipo-ubuntu-510.yml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
shell: bash
6262
run: |
6363
sudo apt update
64-
sudo apt install libopenblas-dev
64+
sudo apt install libopenblas-dev
6565
6666
- name: Create Build Environment
6767
run: cmake -E make_directory ${{runner.workspace}}/build
@@ -133,6 +133,20 @@ jobs:
133133
cmake --build build --parallel
134134
cmake --install build
135135
136+
- name: Cache APT packages
137+
uses: actions/cache@v4
138+
with:
139+
path: |
140+
/var/cache/apt/archives
141+
/var/lib/apt/lists
142+
key: ${{ runner.os }}-apt-libopenblas
143+
144+
- name: Install OpenBLAS
145+
shell: bash
146+
run: |
147+
sudo apt update
148+
sudo apt install libopenblas-dev
149+
136150
- name: Create Build Environment
137151
run: cmake -E make_directory ${{runner.workspace}}/build
138152

0 commit comments

Comments
 (0)