This commit is contained in:
parent
2484c43484
commit
2ead907c3a
102
.drone.yml
102
.drone.yml
@ -13,6 +13,18 @@ steps:
|
||||
- git clone https://github.com/QuantumPackage/qp2.git --depth=10 --branch=master
|
||||
- bash -c "cd qp2 ; exec ./configure -i all"
|
||||
|
||||
- name: notify
|
||||
image: drillster/drone-email
|
||||
settings:
|
||||
host:
|
||||
from_secret: hostname
|
||||
from:
|
||||
from_secret: from
|
||||
recipients:
|
||||
from_secret: recipients
|
||||
when:
|
||||
status: [changed, failure]
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
@ -22,46 +34,42 @@ clone:
|
||||
depth: 10
|
||||
|
||||
steps:
|
||||
- name: git pull master
|
||||
- name: debug
|
||||
image: scemama666/qp2_configured
|
||||
commands:
|
||||
- bash -c "cd /qp2 ; git checkout master"
|
||||
- bash -c "cd /qp2 ; git pull"
|
||||
|
||||
- name: configure debug
|
||||
image: scemama666/qp2_configured
|
||||
commands:
|
||||
- bash -c "cd /qp2 ; ls -l ; git log"
|
||||
- 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"
|
||||
|
||||
- name: compile debug
|
||||
image: scemama666/qp2_configured
|
||||
commands:
|
||||
- bash -c "cd /qp2 ; source quantum_package.rc ; exec ninja"
|
||||
|
||||
- name: testing debug
|
||||
image: scemama666/qp2_configured
|
||||
commands:
|
||||
- bash -c "cd /qp2 ; source quantum_package.rc ; TRAVIS=1 exec qp_test -a"
|
||||
|
||||
|
||||
- name: configure fast
|
||||
- name: fast
|
||||
image: scemama666/qp2_configured
|
||||
commands:
|
||||
- bash -c "cd /qp2 ; git checkout master"
|
||||
- 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"
|
||||
|
||||
- name: compile fast
|
||||
image: scemama666/qp2_configured
|
||||
commands:
|
||||
- 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"
|
||||
|
||||
- name: testing
|
||||
image: scemama666/qp2_configured
|
||||
commands:
|
||||
- bash -c "cd /qp2 ; source quantum_package.rc ; TRAVIS=1 exec qp_test -a"
|
||||
|
||||
|
||||
- name: notify
|
||||
image: drillster/drone-email
|
||||
settings:
|
||||
host:
|
||||
from_secret: hostname
|
||||
from:
|
||||
from_secret: from
|
||||
recipients:
|
||||
from_secret: recipients
|
||||
when:
|
||||
status: [changed, failure]
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
@ -72,39 +80,39 @@ clone:
|
||||
depth: 10
|
||||
|
||||
steps:
|
||||
- name: git pull master
|
||||
- name: debug
|
||||
image: scemama666/qp2_configured
|
||||
commands:
|
||||
- bash -c "cd /qp2 ; git checkout dev"
|
||||
- bash -c "cd /qp2 ; git pull"
|
||||
|
||||
- name: configure debug
|
||||
image: scemama666/qp2_configured
|
||||
commands:
|
||||
- bash -c "cd /qp2 ; ls -l ; git log"
|
||||
- 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"
|
||||
|
||||
- name: compile debug
|
||||
image: scemama666/qp2_configured
|
||||
commands:
|
||||
- bash -c "cd /qp2 ; source quantum_package.rc ; exec ninja"
|
||||
|
||||
- name: testing debug
|
||||
image: scemama666/qp2_configured
|
||||
commands:
|
||||
- bash -c "cd /qp2 ; source quantum_package.rc ; TRAVIS=1 exec qp_test -a"
|
||||
|
||||
|
||||
- name: fast
|
||||
image: scemama666/qp2_configured
|
||||
commands:
|
||||
- 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"
|
||||
- bash -c "cd /qp2 ; source quantum_package.rc ; TRAVIS=1 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]
|
||||
- name: notify
|
||||
image: drillster/drone-email
|
||||
settings:
|
||||
host:
|
||||
from_secret: hostname
|
||||
from:
|
||||
from_secret: from
|
||||
recipients:
|
||||
from_secret: recipients
|
||||
when:
|
||||
status: [changed, failure]
|
||||
|
Loading…
Reference in New Issue
Block a user