1
0
mirror of https://github.com/TREX-CoE/qmckl.git synced 2024-07-18 17:03:43 +02:00

Merge pull request #46 from TREX-CoE/master

Update test-build.yml
This commit is contained in:
Anthony Scemama 2021-10-12 11:28:02 +02:00 committed by GitHub
commit 6ac17bc76e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,28 +14,33 @@ jobs:
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: install dependencies - name: Install dependencies
run: sudo apt-get install emacs autoconf libhdf5-dev run: sudo apt-get install emacs autoconf libhdf5-dev
- name: install trexio - name: Install trexio
run: | run: |
wget https://github.com/TREX-CoE/trexio/releases/download/v1.0/trexio-1.0.0.tar.gz wget https://github.com/TREX-CoE/trexio/releases/download/v1.0/trexio-1.0.0.tar.gz
tar -zxf trexio-1.0.0.tar.gz tar -zxf trexio-1.0.0.tar.gz
cd trexio-1.0.0 cd trexio-1.0.0
./configure ./configure --prefix=/usr
make -j 8 make -j 8
sudo make install sudo make install
- name: Run test - name: Build
run: | run: |
./autogen.sh ./autogen.sh
QMCKL_DEVEL=1 ./configure --enable-silent-rules --enable-maintainer-mode --enable-debug QMCKL_DEVEL=1 ./configure --enable-silent-rules --enable-maintainer-mode --enable-debug
make -j 8 make -j 8
- name: Run test
run: |
make -j check make -j check
make distcheck ldd tests/test_qmckl_ao
- name: Archive test log file - name: Archive test log file
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
with: with:
name: test-suite.log name: test-report
path: test-suite.log path: test-suite.log
- name: Dist test
run: |
make distcheck
# x86_macos: # x86_macos:
# #