mirror of
https://github.com/QuantumPackage/qp2.git
synced 2024-11-15 01:43:38 +01:00
73 lines
1.7 KiB
YAML
73 lines
1.7 KiB
YAML
name: QP Configuration
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
# - ci
|
|
pull_request:
|
|
branches:
|
|
- master
|
|
schedule:
|
|
- cron: "23 22 * * 6"
|
|
|
|
|
|
jobs:
|
|
|
|
configuration:
|
|
runs-on: ubuntu-20.04
|
|
name: Dependencies
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Install dependencies
|
|
run: |
|
|
sudo apt install gfortran gcc liblapack-dev libblas-dev wget python3 make m4 pkg-config libhdf5-dev
|
|
- name: zlib
|
|
run: |
|
|
./configure -i zlib || echo OK
|
|
- name: ninja
|
|
run: |
|
|
./configure -i ninja || echo OK
|
|
- name: zeromq
|
|
run: |
|
|
./configure -i zeromq || echo OK
|
|
- name: f77zmq
|
|
run: |
|
|
./configure -i f77zmq || echo OK
|
|
- name: gmp
|
|
run: |
|
|
./configure -i gmp || echo OK
|
|
- name: ocaml
|
|
run: |
|
|
./configure -i ocaml || echo OK
|
|
- name: docopt
|
|
run: |
|
|
./configure -i docopt || echo OK
|
|
- name: resultsFile
|
|
run: |
|
|
./configure -i resultsFile || echo OK
|
|
- name: bats
|
|
run: |
|
|
./configure -i bats || echo OK
|
|
- name: trexio-nohdf5
|
|
run: |
|
|
./configure -i trexio-nohdf5 || echo OK
|
|
- name: trexio
|
|
run: |
|
|
./configure -i trexio || echo OK
|
|
- name: Final check
|
|
run: |
|
|
./configure -c config/gfortran_debug.cfg
|
|
- name: Cache
|
|
uses: actions/cache@v3
|
|
with:
|
|
key: qp2-config
|
|
path: |
|
|
external/opampack/
|
|
include/
|
|
lib/
|
|
lib64/
|
|
libexec/
|
|
|