2022-05-13 11:04:03 +02:00
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
|
|
|
name: configuration
|
|
|
|
|
|
|
|
clone:
|
|
|
|
depth: 10
|
|
|
|
|
|
|
|
steps:
|
2022-05-19 15:21:15 +02:00
|
|
|
- name: clone
|
2022-05-13 11:04:03 +02:00
|
|
|
image: scemama666/qp2_env
|
|
|
|
commands:
|
2022-05-19 15:21:15 +02:00
|
|
|
- git clone https://github.com/QuantumPackage/qp2.git --depth=10 --branch=${DRONE_SOURCE_BRANCH}
|
|
|
|
- bash -c "cd qp2 ; ls -l ; git log"
|
2022-05-13 11:04:03 +02:00
|
|
|
- bash -c "cd qp2 ; exec ./configure -i all"
|
|
|
|
|
2022-05-19 15:21:15 +02:00
|
|
|
- name: configure_debug
|
|
|
|
image: scemama666/qp2_env
|
2022-05-13 11:04:03 +02:00
|
|
|
commands:
|
2022-05-19 15:21:15 +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"
|
2022-05-13 11:04:03 +02:00
|
|
|
|
2022-05-19 15:21:15 +02:00
|
|
|
- name: compile
|
|
|
|
image: scemama666/qp2_env
|
2022-05-13 11:04:03 +02:00
|
|
|
commands:
|
2022-05-19 15:21:15 +02:00
|
|
|
- bash -c "cd qp2 ; source quantum_package.rc ; exec ninja"
|
2022-05-13 11:04:03 +02:00
|
|
|
|
2022-05-19 15:21:15 +02:00
|
|
|
- name: test
|
|
|
|
image: scemama666/qp2_env
|
|
|
|
commands:
|
|
|
|
- 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:21:15 +02:00
|
|
|
- name: configure_fast
|
|
|
|
image: scemama666/qp2_env
|
|
|
|
commands:
|
|
|
|
- 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"
|
2022-05-13 11:04:03 +02:00
|
|
|
|
2022-05-19 15:21:15 +02:00
|
|
|
- name: compile
|
|
|
|
image: scemama666/qp2_env
|
|
|
|
commands:
|
|
|
|
- bash -c "cd qp2 ; source quantum_package.rc ; exec ninja"
|
2022-05-13 11:04:03 +02:00
|
|
|
|
2022-05-19 15:21:15 +02:00
|
|
|
- name: test
|
|
|
|
image: scemama666/qp2_env
|
2022-05-13 11:04:03 +02:00
|
|
|
commands:
|
2022-05-19 15:21:15 +02:00
|
|
|
- bash -c "cd qp2 ; source quantum_package.rc ; exec qp_test -a"
|
2022-05-13 11:04:03 +02:00
|
|
|
|
2022-05-19 15:09:34 +02:00
|
|
|
|
2022-05-13 11:04:03 +02:00
|
|
|
|