Skip to content

Commit 45b3593

Browse files
committed
Install in workflow
1 parent c95b78d commit 45b3593

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

.github/workflows/periodic_benchmarks.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,11 @@ 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 python dependencies
28+
run: |
29+
python -m pip install --upgrade pip wheel setuptools virtualenv asv wget cmake casadi numpy "tox<4" build
30+
- name: Install SuiteSparse and Sundials
31+
run: python scripts/install_KLU_Sundials.py
2932
- name: Run benchmarks
3033
run: |
3134
asv machine --machine "GitHubRunner"

asv.conf.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,7 @@
2626
"build_command": [
2727
"/bin/rm -rf pybind11",
2828
"/usr/bin/git clone --depth 1 --branch v2.6.2 https://github.com/pybind/pybind11.git",
29-
"python -m pip install --upgrade pip wheel setuptools virtualenv asv wget cmake casadi numpy build",
30-
"python scripts/install_KLU_Sundials.py",
31-
"python -m build",
29+
"python setup.py build",
3230
"PIP_NO_BUILD_ISOLATION=false python -mpip wheel --no-deps --no-index -w {build_cache_dir} {build_dir}"
3331
],
3432

0 commit comments

Comments
 (0)