10
0
mirror of https://github.com/QuantumPackage/qp2.git synced 2024-11-15 02:23:51 +01:00
QuantumPackage/.github/workflows/compilation.yml

60 lines
1.3 KiB
YAML
Raw Normal View History

2023-02-07 16:03:10 +01:00
name: QP Compilation
on:
push:
branches:
- master
- dev-stable
pull_request:
branches:
- dev-stable
- master
jobs:
configuration:
runs-on: ubuntu-20.04
name: Dependencies
steps:
- name: install dependencies
run: |
sudo apt install gfortran gcc liblapack-dev libblas-dev wget python3 make m4 pkg-config
compilation:
name: Compilation
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: Restore configuration
id: restore
uses: actions/cache@v3
continue-on-error: false
with:
key: qp2-config
fail-on-cache-miss: true
path: |
external/opampack/
include/
lib/
lib64/
libexec/
restore-keys: qp2-
- name: Configuration
run: |
2023-02-08 13:37:39 +01:00
./configure -i ninja || :
./configure -i docopt || :
./configure -i resultsFile || :
./configure -i bats || :
2023-05-12 19:20:08 +02:00
./configure -i trexio-nohdf5 || :
2023-09-19 09:59:30 +02:00
./configure -i qmckl || :
2023-02-07 16:03:10 +01:00
./configure -c ./config/gfortran_debug.cfg
- name: Compilation
run: |
bash -c "source quantum_package.rc ; exec ninja"