Compare commits
2 Commits
5323f1c4ed
...
7a51be321f
Author | SHA1 | Date | |
---|---|---|---|
7a51be321f | |||
293f554394 |
16
.drone.yml
16
.drone.yml
@ -1,49 +1,49 @@
|
|||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: docker
|
type: docker
|
||||||
name: configuration
|
name: main
|
||||||
|
|
||||||
clone:
|
clone:
|
||||||
depth: 10
|
depth: 10
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: clone
|
- name: git
|
||||||
image: scemama666/qp2_env
|
image: scemama666/qp2_env
|
||||||
commands:
|
commands:
|
||||||
- git clone https://github.com/QuantumPackage/qp2.git --depth=10 --branch=${DRONE_SOURCE_BRANCH}
|
- 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 ; ls -l ; git log"
|
||||||
- bash -c "cd qp2 ; exec ./configure -i all"
|
- bash -c "cd qp2 ; exec ./configure -i all"
|
||||||
|
|
||||||
- name: configure_debug
|
- name: debug_configure
|
||||||
image: scemama666/qp2_env
|
image: scemama666/qp2_env
|
||||||
commands:
|
commands:
|
||||||
- bash -c "cd qp2 ; exec ./configure -c ./config/gfortran_debug.cfg"
|
- 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 download https://gitlab.com/scemama/qp_plugins_scemama"
|
||||||
- bash -c "source qp2/quantum_package.rc ; exec qp_plugins install champ"
|
- bash -c "source qp2/quantum_package.rc ; exec qp_plugins install champ"
|
||||||
|
|
||||||
- name: compile
|
- name: debug_compile
|
||||||
image: scemama666/qp2_env
|
image: scemama666/qp2_env
|
||||||
commands:
|
commands:
|
||||||
- bash -c "cd qp2 ; source quantum_package.rc ; exec ninja"
|
- bash -c "cd qp2 ; source quantum_package.rc ; exec ninja"
|
||||||
|
|
||||||
- name: test
|
- name: debug_test
|
||||||
image: scemama666/qp2_env
|
image: scemama666/qp2_env
|
||||||
commands:
|
commands:
|
||||||
- bash -c "cd qp2 ; source quantum_package.rc ; TRAVIS=1 exec qp_test -a"
|
- bash -c "cd qp2 ; source quantum_package.rc ; TRAVIS=1 exec qp_test -a"
|
||||||
|
|
||||||
- name: configure_fast
|
- name: fast_configure
|
||||||
image: scemama666/qp2_env
|
image: scemama666/qp2_env
|
||||||
commands:
|
commands:
|
||||||
- bash -c "cd qp2 ; exec ./configure -c ./config/gfortran_avx.cfg"
|
- 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 download https://gitlab.com/scemama/qp_plugins_scemama"
|
||||||
- bash -c "source qp2/quantum_package.rc ; exec qp_plugins install champ"
|
- bash -c "source qp2/quantum_package.rc ; exec qp_plugins install champ"
|
||||||
|
|
||||||
- name: compile
|
- name: fast_compile
|
||||||
image: scemama666/qp2_env
|
image: scemama666/qp2_env
|
||||||
commands:
|
commands:
|
||||||
- bash -c "cd qp2 ; source quantum_package.rc ; exec ninja"
|
- bash -c "cd qp2 ; source quantum_package.rc ; exec ninja"
|
||||||
|
|
||||||
- name: test
|
- name: fast_test
|
||||||
image: scemama666/qp2_env
|
image: scemama666/qp2_env
|
||||||
commands:
|
commands:
|
||||||
- bash -c "cd qp2 ; source quantum_package.rc ; exec qp_test -a"
|
- bash -c "cd qp2 ; source quantum_package.rc ; exec qp_test -a"
|
||||||
|
Loading…
Reference in New Issue
Block a user