10
0
mirror of https://github.com/QuantumPackage/qp2.git synced 2024-06-26 15:12:19 +02:00
QuantumPackage/.drone.yml

53 lines
1.3 KiB
YAML
Raw Permalink Normal View History

2022-04-12 17:29:29 +02:00
---
2022-04-12 17:25:48 +02:00
kind: pipeline
2022-04-13 23:58:55 +02:00
type: docker
2022-04-19 10:13:38 +02:00
name: gfortran-debug
2022-04-12 17:25:48 +02:00
clone:
depth: 10
steps:
2022-05-12 12:03:22 +02:00
- name: configure debug
image: scemama666/qp2_env
commands:
- ./configure -i all -c ./config/gfortran_debug.cfg
- bash -c "source quantum_package.rc ; exec qp_plugins download https://gitlab.com/scemama/qp_plugins_scemama"
- bash -c "source quantum_package.rc ; exec qp_plugins install champ"
- name: compile debug
image: scemama666/qp2_env
commands:
- bash -c "source quantum_package.rc ; exec ninja"
- name: testing debug
image: scemama666/qp2_env
commands:
- bash -c "source quantum_package.rc ; TRAVIS=1 exec qp_test -a"
- name: configure fast
image: scemama666/qp2_env
commands:
2022-05-12 12:08:18 +02:00
- ./configure -c ./config/gfortran_avx.cfg
2022-05-12 12:03:22 +02:00
- name: compile fast
image: scemama666/qp2_env
commands:
- bash -c "source quantum_package.rc ; exec ninja"
- name: testing fast
image: scemama666/qp2_env
commands:
- bash -c "source quantum_package.rc ; exec qp_test -a"
- name: notify
image: drillster/drone-email
settings:
host:
from_secret: hostname # irsamc.ups-tlse.fr
from:
from_secret: from # drone@irssv7.ups-tlse.fr
recipients:
from_secret: recipients # scemama@irsamc.ups-tlse.fr
when:
status: [changed, failure]