Skip to content

Commit a9598a4

Browse files
committed
ci microbench: fix and update
1 parent f516e26 commit a9598a4

File tree

1 file changed

+18
-8
lines changed

1 file changed

+18
-8
lines changed

.github/workflows/ci.yml

Lines changed: 18 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -412,22 +412,32 @@ jobs:
412412

413413
- name: Install / Upgrade Python requirements
414414
run: |
415-
python -m pip install --upgrade pip wheel 'setuptools>=60.2'
416-
python -m pip install pytest cffi
415+
pip install --upgrade pip wheel 'setuptools>=60.2' setuptools-scm
416+
pip install pytest cffi
417417
418418
- name: Build and install HPy
419419
run: |
420420
make
421-
python -m pip install .
421+
pip install .
422+
423+
- name: Build and install hpy.microbench
424+
run: |
425+
pip install ./microbench --no-build-isolation --no-deps
422426
423427
- name: Run microbenchmarks
424428
run: |
425429
cd microbench
426-
python -m pip install . --no-build-isolation --no-deps
427-
python -m pytest -v
430+
pytest -v
431+
432+
- name: Uninstall hpy.microbench
433+
run: |
434+
pip uninstall hpy.microbench --yes
435+
436+
- name: Build and install hpy.microbench universal ABI
437+
run: |
438+
pip install -e ./microbench --no-build-isolation --no-deps --config-settings="--global-option=--hpy-abi=universal"
428439
429440
- name: Run microbenchmarks universal ABI
430441
run: |
431-
python -m pip uninstall hpy.microbench --yes
432-
python -m pip install -e . --no-build-isolation --no-deps --config-settings="--global-option=--hpy-abi=universal"
433-
python -m pytest -v -m hpy
442+
cd microbench
443+
pytest -v -m hpy

0 commit comments

Comments
 (0)