Skip to content

Commit

Permalink
update CI that builds NumPy
Browse files Browse the repository at this point in the history
  • Loading branch information
r-devulap committed Sep 18, 2023
1 parent 527248c commit 95f46a1
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/build-numpy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,20 @@ jobs:
git fetch temp
git checkout temp/pr-branch
- name: Build & run NumPy sort tests
- name: Build NumPy
working-directory: ${{ github.workspace }}/numpy
env:
CXX: g++-12
CC: gcc-12
run: |
python runtests.py -t numpy/core/tests/test_multiarray.py
spin build -- -Dallow-noblas=true
- name: Run multiarray tests
run: |
export NUMPY_SITE=$(realpath build-install/usr/lib/python*/site-packages/)
export PYTHONPATH="$PYTHONPATH:$NUMPY_SITE"
cd build-install &&
python -c "import numpy; numpy.show_config()" &&
python -m pytest $NUMPY_SITE/numpy/core/tests/test_multiarray.py

0 comments on commit 95f46a1

Please sign in to comment.