1
0
mirror of https://github.com/TREX-CoE/qmckl.git synced 2024-07-22 18:57:40 +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 cd _build
../configure --enable-silent-rules --enable-debug ../configure --enable-silent-rules --enable-debug
make -j 4 make -j 4
make install
- name: Run test - name: Run test
run: make -j 4 check run: make -j 4 check
@ -71,9 +72,11 @@ jobs:
- name: Install the Python API - name: Install the Python API
run: make python-install run: make python-install
working-directory: _build
- name: Test the Python API - name: Test the Python API
run: make python-test run: make python-test
working-directory: _build
x86_macos: 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) python-install: $(qmckl_h) $(pyqmckl_i) $(process_header_py) $(setup_py)
cp $(qmckl_h) python/src/ cp $(qmckl_h) $(srcdir)/python/src/
cd python/ && \ cd $(srcdir)/python/ && \
./pip_install_pyqmckl.sh ./pip_install_pyqmckl.sh
python-test: $(test_py) python-test: $(test_py)
cd python/test/ && \ cd $(srcdir)/python/test/ && \
python test_api.py python test_api.py
CLEANFILES += $(pyqmckl_wrap_c) \ CLEANFILES += $(pyqmckl_wrap_c) \