Skip to content
Merged
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
10 changes: 7 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -207,16 +207,20 @@ jobs:
run: |
python -m pip install scikit-build-core setuptools_scm numpy f90wrap \
pytest cmake ninja pybind11
# pip fetches the BIEST/SCTL submodules of fbtools recursively
python -m pip install --no-build-isolation \
# fbtools defaults to -march=native; rebuild on the CPU that loads it.
# pip's persistent wheel tag does not distinguish hosted runner ISAs.
# pip fetches the BIEST/SCTL submodules of fbtools recursively.
python -m pip install --no-build-isolation --no-cache-dir \
"fbtools @ git+https://gitlab.mpcdf.mpg.de/nmpp-mhd-group/fhindenlang/fbtools.git@${FBTOOLS_REV}"
# use the free_boundary extra once the branch defines it
if grep -q '^free_boundary *=' pyproject.toml; then spec='.[free_boundary]'; else spec='.'; fi
python -m pip install --no-build-isolation "$spec"
- name: Import check
run: |
lscpu
python -c "import fbtools, gvec, numpy; print('fbtools', fbtools.__file__); print('gvec', gvec.__version__); numpy.show_runtime()"
python -u -c "import numpy; print('numpy', numpy.__version__); numpy.show_runtime()"
python -u -c "import fbtools; print('fbtools', fbtools.__file__)"
python -u -c "import gvec; print('gvec', gvec.__version__)"
- name: Free-boundary tests
run: |
set -euo pipefail
Expand Down