From d17b0f88d1eb74f3b4bc164a896b9de0834abf93 Mon Sep 17 00:00:00 2001 From: Anthony Scemama Date: Tue, 12 Oct 2021 00:15:38 +0200 Subject: [PATCH 1/3] Install trexio in GH actions --- .github/workflows/test-build.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.github/workflows/test-build.yml b/.github/workflows/test-build.yml index 2032472..c34b575 100644 --- a/.github/workflows/test-build.yml +++ b/.github/workflows/test-build.yml @@ -16,6 +16,14 @@ jobs: - uses: actions/checkout@v2 - name: install dependencies run: sudo apt-get install emacs autoconf + - name: install trexio + run: | + 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 + cd trexio-1.0.0 + ./configure + make -j 8 + sudo make install - name: Run test run: | ./autogen.sh @@ -41,6 +49,14 @@ jobs: # brew install gfortran-10 # brew install emacs # brew install autoconf automake libtool +# - name: install trexio +# run: | +# 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 +# cd trexio-1.0.0 +# ./configure +# make -j 8 +# sudo make install # - name: Run test # run: | # ./autogen.sh From db59021544fdf73d94f1b1f1240f64132c96fabf Mon Sep 17 00:00:00 2001 From: Anthony Scemama Date: Tue, 12 Oct 2021 00:17:14 +0200 Subject: [PATCH 2/3] Install HDF5 for trexio --- .github/workflows/test-build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test-build.yml b/.github/workflows/test-build.yml index c34b575..6489035 100644 --- a/.github/workflows/test-build.yml +++ b/.github/workflows/test-build.yml @@ -15,7 +15,7 @@ jobs: steps: - uses: actions/checkout@v2 - name: install dependencies - run: sudo apt-get install emacs autoconf + run: sudo apt-get install emacs autoconf libhdf5-dev - name: install trexio run: | wget https://github.com/TREX-CoE/trexio/releases/download/v1.0/trexio-1.0.0.tar.gz From b0fa668c770d8e1da3e90154dae63e01b563876a Mon Sep 17 00:00:00 2001 From: Anthony Scemama Date: Tue, 12 Oct 2021 11:25:05 +0200 Subject: [PATCH 3/3] Update test-build.yml --- .github/workflows/test-build.yml | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/.github/workflows/test-build.yml b/.github/workflows/test-build.yml index 6489035..a54725e 100644 --- a/.github/workflows/test-build.yml +++ b/.github/workflows/test-build.yml @@ -14,28 +14,33 @@ jobs: steps: - uses: actions/checkout@v2 - - name: install dependencies + - name: Install dependencies run: sudo apt-get install emacs autoconf libhdf5-dev - - name: install trexio + - name: Install trexio run: | 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 cd trexio-1.0.0 - ./configure + ./configure --prefix=/usr make -j 8 sudo make install - - name: Run test + - name: Build run: | ./autogen.sh QMCKL_DEVEL=1 ./configure --enable-silent-rules --enable-maintainer-mode --enable-debug make -j 8 + - name: Run test + run: | make -j check - make distcheck + ldd tests/test_qmckl_ao - name: Archive test log file uses: actions/upload-artifact@v2 with: - name: test-suite.log + name: test-report path: test-suite.log + - name: Dist test + run: | + make distcheck # x86_macos: #