Skip to content

Commit

Permalink
fix CFLAG
Browse files Browse the repository at this point in the history
  • Loading branch information
piskunow committed Nov 23, 2023
1 parent 858f103 commit 8abec8c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,12 @@ jobs:
- name: Clone and Install kwant (Ubuntu)
if: startsWith(matrix.os, 'ubuntu')
env:
CFLAGS: "-I$(python -c 'import numpy; print(numpy.get_include())')"
run: |
git clone https://github.com/kwant-project/kwant.git
cd kwant
git checkout master
python setup.py build
numpy_include=$(python -c 'import numpy; print(numpy.get_include())')
CFLAGS="-I$numpy_include" python setup.py build
sudo python setup.py install
- name: Install Nox
Expand Down

0 comments on commit 8abec8c

Please sign in to comment.