1
0
mirror of https://github.com/TREX-CoE/qmckl.git synced 2024-06-30 00:44:52 +02:00
qmckl/.github/workflows/test-build.yml

67 lines
1.6 KiB
YAML
Raw Normal View History

name: test-build
on:
push:
2020-11-25 18:41:55 +01:00
branches: [ master ]
pull_request:
2020-11-25 18:41:55 +01:00
branches: [ master ]
jobs:
2021-05-12 13:24:35 +02:00
x86_ubuntu:
2020-10-17 01:28:15 +02:00
runs-on: ubuntu-latest
2021-05-12 13:24:35 +02:00
name: x86 Ubuntu latest
2020-10-17 01:28:15 +02:00
steps:
- uses: actions/checkout@v2
- name: install dependencies
2021-05-07 13:02:16 +02:00
run: sudo apt-get install emacs autoconf
2021-10-12 00:15:38 +02:00
- 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
2021-05-12 13:35:38 +02:00
- name: Run test
2021-05-12 13:36:25 +02:00
run: |
2021-05-12 13:33:14 +02:00
./autogen.sh
QMCKL_DEVEL=1 ./configure --enable-silent-rules --enable-maintainer-mode --enable-debug
make -j 8
make -j check
make distcheck
2021-07-07 19:09:03 +02:00
- name: Archive test log file
uses: actions/upload-artifact@v2
with:
name: test-suite.log
path: test-suite.log
2021-05-12 13:33:14 +02:00
2021-05-12 23:41:43 +02:00
# x86_macos:
#
# runs-on: macos-latest
# name: x86 MacOS latest
#
# steps:
# - uses: actions/checkout@v2
# - name: install dependencies
# run: |
# brew install gfortran-10
# brew install emacs
# brew install autoconf automake libtool
2021-10-12 00:15:38 +02:00
# - 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
2021-05-12 23:41:43 +02:00
# - name: Run test
# run: |
# ./autogen.sh
# QMCKL_DEVEL=1 ./configure --enable-silent-rules --enable-maintainer-mode --enable-debug
# make -j 8
# make -j check
# make distcheck