1
0
mirror of https://github.com/TREX-CoE/qmckl.git synced 2024-06-01 02:45:43 +02:00
This commit is contained in:
q-posev 2022-05-04 15:29:35 +02:00
parent de443ff30b
commit 9c38d7914c
2 changed files with 6 additions and 3 deletions

View File

@ -44,6 +44,7 @@ jobs:
cd _build
../configure --enable-silent-rules --enable-debug
make -j 4
make install
- name: Run test
run: make -j 4 check
@ -71,9 +72,11 @@ jobs:
- name: Install the Python API
run: make python-install
working-directory: _build
- name: Test the Python API
run: make python-test
working-directory: _build
x86_macos:

View File

@ -181,12 +181,12 @@ numpy_i = $(srcdir)/python/src/numpy.i
python-install: $(qmckl_h) $(pyqmckl_i) $(process_header_py) $(setup_py)
cp $(qmckl_h) python/src/
cd python/ && \
cp $(qmckl_h) $(srcdir)/python/src/
cd $(srcdir)/python/ && \
./pip_install_pyqmckl.sh
python-test: $(test_py)
cd python/test/ && \
cd $(srcdir)/python/test/ && \
python test_api.py
CLEANFILES += $(pyqmckl_wrap_c) \