qp2_ci/.drone.yml

119 lines
3.5 KiB
YAML
Raw Normal View History

2022-05-13 11:04:03 +02:00
---
kind: pipeline
type: docker
name: configuration
clone:
depth: 10
steps:
- name: master
image: scemama666/qp2_env
commands:
2022-05-19 14:33:02 +02:00
- git clone https://github.com/QuantumPackage/qp2.git --depth=10 --branch=master
2022-05-13 11:04:03 +02:00
- bash -c "cd qp2 ; exec ./configure -i all"
2022-05-19 15:09:34 +02:00
- name: notify
image: drillster/drone-email
settings:
host:
from_secret: hostname
from:
from_secret: from
recipients:
from_secret: recipients
when:
status: [changed, failure]
2022-05-13 11:04:03 +02:00
---
kind: pipeline
type: docker
name: master
clone:
depth: 10
steps:
2022-05-19 15:09:34 +02:00
- name: debug
2022-05-13 11:04:03 +02:00
image: scemama666/qp2_configured
commands:
- bash -c "cd /qp2 ; git checkout master"
- bash -c "cd /qp2 ; git pull"
2022-05-19 15:09:34 +02:00
- bash -c "cd /qp2 ; ls -l ; git log"
2022-05-13 11:04:03 +02:00
- bash -c "cd /qp2 ; exec ./configure -c ./config/gfortran_debug.cfg"
- bash -c "source /qp2/quantum_package.rc ; exec qp_plugins download https://gitlab.com/scemama/qp_plugins_scemama"
- bash -c "source /qp2/quantum_package.rc ; exec qp_plugins install champ"
- bash -c "cd /qp2 ; source quantum_package.rc ; exec ninja"
- bash -c "cd /qp2 ; source quantum_package.rc ; TRAVIS=1 exec qp_test -a"
2022-05-19 15:09:34 +02:00
- name: fast
2022-05-13 11:04:03 +02:00
image: scemama666/qp2_configured
commands:
2022-05-19 15:09:34 +02:00
- bash -c "cd /qp2 ; git checkout master"
- bash -c "cd /qp2 ; git pull"
- bash -c "cd /qp2 ; ls -l ; git log"
2022-05-13 11:04:03 +02:00
- bash -c "cd /qp2 ; exec ./configure -c ./config/gfortran_avx.cfg"
2022-05-19 15:09:34 +02:00
- bash -c "source /qp2/quantum_package.rc ; exec qp_plugins download https://gitlab.com/scemama/qp_plugins_scemama"
- bash -c "source /qp2/quantum_package.rc ; exec qp_plugins install champ"
2022-05-13 11:04:03 +02:00
- bash -c "cd /qp2 ; source quantum_package.rc ; exec ninja"
- bash -c "cd /qp2 ; source quantum_package.rc ; TRAVIS=1 exec qp_test -a"
2022-05-19 15:09:34 +02:00
- name: notify
image: drillster/drone-email
settings:
host:
from_secret: hostname
from:
from_secret: from
recipients:
from_secret: recipients
when:
status: [changed, failure]
2022-05-13 11:04:03 +02:00
---
kind: pipeline
type: docker
name: dev
clone:
depth: 10
steps:
2022-05-19 15:09:34 +02:00
- name: debug
2022-05-13 11:04:03 +02:00
image: scemama666/qp2_configured
commands:
- bash -c "cd /qp2 ; git checkout dev"
- bash -c "cd /qp2 ; git pull"
2022-05-19 15:09:34 +02:00
- bash -c "cd /qp2 ; ls -l ; git log"
2022-05-13 11:04:03 +02:00
- bash -c "cd /qp2 ; exec ./configure -c ./config/gfortran_debug.cfg"
- bash -c "source /qp2/quantum_package.rc ; exec qp_plugins download https://gitlab.com/scemama/qp_plugins_scemama"
- bash -c "source /qp2/quantum_package.rc ; exec qp_plugins install champ"
- bash -c "cd /qp2 ; source quantum_package.rc ; exec ninja"
2022-05-19 15:09:34 +02:00
- bash -c "cd /qp2 ; source quantum_package.rc ; TRAVIS=1 exec qp_test -a"
2022-05-13 11:04:03 +02:00
2022-05-19 15:09:34 +02:00
- name: fast
2022-05-13 11:04:03 +02:00
image: scemama666/qp2_configured
commands:
2022-05-19 15:09:34 +02:00
- bash -c "cd /qp2 ; git checkout dev"
- bash -c "cd /qp2 ; git pull"
- bash -c "cd /qp2 ; ls -l ; git log"
- bash -c "cd /qp2 ; exec ./configure -c ./config/gfortran_avx.cfg"
- bash -c "source /qp2/quantum_package.rc ; exec qp_plugins download https://gitlab.com/scemama/qp_plugins_scemama"
- bash -c "source /qp2/quantum_package.rc ; exec qp_plugins install champ"
- bash -c "cd /qp2 ; source quantum_package.rc ; exec ninja"
2022-05-13 11:04:03 +02:00
- bash -c "cd /qp2 ; source quantum_package.rc ; TRAVIS=1 exec qp_test -a"
2022-05-19 15:09:34 +02:00
- name: notify
image: drillster/drone-email
settings:
host:
from_secret: hostname
from:
from_secret: from
recipients:
from_secret: recipients
when:
status: [changed, failure]