mirror of
https://github.com/TREX-CoE/qmckl.git
synced 2024-12-22 20:36:01 +01:00
Fix CI
This commit is contained in:
parent
de443ff30b
commit
9c38d7914c
3
.github/workflows/test-build.yml
vendored
3
.github/workflows/test-build.yml
vendored
@ -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:
|
||||
|
||||
|
@ -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) \
|
||||
|
Loading…
Reference in New Issue
Block a user