Rewrite drone.yml
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Some checks reported errors
continuous-integration/drone/push Build encountered an error
This commit is contained in:
parent
2ead907c3a
commit
5323f1c4ed
128
.drone.yml
128
.drone.yml
@ -7,112 +7,46 @@ clone:
|
|||||||
depth: 10
|
depth: 10
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: master
|
- name: clone
|
||||||
image: scemama666/qp2_env
|
image: scemama666/qp2_env
|
||||||
commands:
|
commands:
|
||||||
- git clone https://github.com/QuantumPackage/qp2.git --depth=10 --branch=master
|
- git clone https://github.com/QuantumPackage/qp2.git --depth=10 --branch=${DRONE_SOURCE_BRANCH}
|
||||||
|
- bash -c "cd qp2 ; ls -l ; git log"
|
||||||
- bash -c "cd qp2 ; exec ./configure -i all"
|
- bash -c "cd qp2 ; exec ./configure -i all"
|
||||||
|
|
||||||
- name: notify
|
- name: configure_debug
|
||||||
image: drillster/drone-email
|
image: scemama666/qp2_env
|
||||||
settings:
|
|
||||||
host:
|
|
||||||
from_secret: hostname
|
|
||||||
from:
|
|
||||||
from_secret: from
|
|
||||||
recipients:
|
|
||||||
from_secret: recipients
|
|
||||||
when:
|
|
||||||
status: [changed, failure]
|
|
||||||
|
|
||||||
---
|
|
||||||
kind: pipeline
|
|
||||||
type: docker
|
|
||||||
name: master
|
|
||||||
|
|
||||||
clone:
|
|
||||||
depth: 10
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: debug
|
|
||||||
image: scemama666/qp2_configured
|
|
||||||
commands:
|
commands:
|
||||||
- bash -c "cd /qp2 ; git checkout master"
|
- bash -c "cd qp2 ; exec ./configure -c ./config/gfortran_debug.cfg"
|
||||||
- bash -c "cd /qp2 ; git pull"
|
- bash -c "source qp2/quantum_package.rc ; exec qp_plugins download https://gitlab.com/scemama/qp_plugins_scemama"
|
||||||
- bash -c "cd /qp2 ; ls -l ; git log"
|
- bash -c "source qp2/quantum_package.rc ; exec qp_plugins install champ"
|
||||||
- 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"
|
|
||||||
|
|
||||||
|
- name: compile
|
||||||
- name: fast
|
image: scemama666/qp2_env
|
||||||
image: scemama666/qp2_configured
|
|
||||||
commands:
|
commands:
|
||||||
- bash -c "cd /qp2 ; git checkout master"
|
- bash -c "cd qp2 ; source quantum_package.rc ; exec ninja"
|
||||||
- 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
|
- name: test
|
||||||
image: drillster/drone-email
|
image: scemama666/qp2_env
|
||||||
settings:
|
|
||||||
host:
|
|
||||||
from_secret: hostname
|
|
||||||
from:
|
|
||||||
from_secret: from
|
|
||||||
recipients:
|
|
||||||
from_secret: recipients
|
|
||||||
when:
|
|
||||||
status: [changed, failure]
|
|
||||||
|
|
||||||
---
|
|
||||||
kind: pipeline
|
|
||||||
type: docker
|
|
||||||
name: dev
|
|
||||||
|
|
||||||
clone:
|
|
||||||
depth: 10
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: debug
|
|
||||||
image: scemama666/qp2_configured
|
|
||||||
commands:
|
commands:
|
||||||
- bash -c "cd /qp2 ; git checkout dev"
|
- bash -c "cd qp2 ; source quantum_package.rc ; TRAVIS=1 exec qp_test -a"
|
||||||
- bash -c "cd /qp2 ; git pull"
|
|
||||||
- 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"
|
|
||||||
- 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: configure_fast
|
||||||
- name: fast
|
image: scemama666/qp2_env
|
||||||
image: scemama666/qp2_configured
|
|
||||||
commands:
|
commands:
|
||||||
- bash -c "cd /qp2 ; git checkout dev"
|
- bash -c "cd qp2 ; exec ./configure -c ./config/gfortran_avx.cfg"
|
||||||
- bash -c "cd /qp2 ; git pull"
|
- bash -c "source qp2/quantum_package.rc ; exec qp_plugins download https://gitlab.com/scemama/qp_plugins_scemama"
|
||||||
- bash -c "cd /qp2 ; ls -l ; git log"
|
- bash -c "source qp2/quantum_package.rc ; exec qp_plugins install champ"
|
||||||
- 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"
|
- name: compile
|
||||||
- bash -c "source /qp2/quantum_package.rc ; exec qp_plugins install champ"
|
image: scemama666/qp2_env
|
||||||
- bash -c "cd /qp2 ; source quantum_package.rc ; exec ninja"
|
commands:
|
||||||
- bash -c "cd /qp2 ; source quantum_package.rc ; TRAVIS=1 exec qp_test -a"
|
- bash -c "cd qp2 ; source quantum_package.rc ; exec ninja"
|
||||||
|
|
||||||
|
- name: test
|
||||||
|
image: scemama666/qp2_env
|
||||||
|
commands:
|
||||||
|
- bash -c "cd qp2 ; source quantum_package.rc ; 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]
|
|
||||||
|
Loading…
Reference in New Issue
Block a user