mirror of
https://github.com/TREX-CoE/qmckl.git
synced 2024-08-25 14:41:46 +02: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
|
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:
|
||||||
|
|
||||||
|
@ -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) \
|
||||||
|
Loading…
Reference in New Issue
Block a user