Skip to content

Commit 54a6293

Browse files
Merge pull request #2888 from Saransh-cpp/fix-bench
Fix scheduled benchmarks
2 parents 15bf108 + 330b9f2 commit 54a6293

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

.github/workflows/periodic_benchmarks.yml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,22 @@ jobs:
2424
uses: actions/setup-python@v4
2525
with:
2626
python-version: 3.8
27-
- name: Install tox and asv
28-
run: pip install -U pip "tox<4" asv
27+
- name: Install Linux system dependencies
28+
run: |
29+
sudo apt-get update
30+
sudo apt install gfortran gcc libopenblas-dev
31+
- name: Install python dependencies
32+
run: |
33+
python -m pip install --upgrade pip wheel setuptools virtualenv asv wget cmake casadi numpy
34+
- name: Install SuiteSparse and Sundials
35+
run: python scripts/install_KLU_Sundials.py
2936
- name: Run benchmarks
3037
run: |
3138
asv machine --machine "GitHubRunner"
32-
asv run --machine "GitHubRunner" NEW
39+
asv run --machine "GitHubRunner" NEW --show-stderr --strict -v
40+
env:
41+
SUNDIALS_INST: $HOME/.local
42+
LD_LIBRARY_PATH: $HOME/.local/lib
3343
- name: Upload results as artifact
3444
uses: actions/upload-artifact@v2
3545
with:

0 commit comments

Comments
 (0)