51 lines
1.3 KiB
YAML
51 lines
1.3 KiB
YAML
---
|
|
kind: pipeline
|
|
type: docker
|
|
name: dev
|
|
|
|
clone:
|
|
depth: 10
|
|
|
|
steps:
|
|
- name: git
|
|
image: scemama666/qp2_env
|
|
commands:
|
|
- git clone https://github.com/QuantumPackage/qp2.git --depth=10 --branch=dev
|
|
- bash -c "cd qp2 ; ls -l ; git log"
|
|
- bash -c "cd qp2 ; exec ./configure -i all"
|
|
|
|
- name: debug_configure
|
|
image: scemama666/qp2_env
|
|
commands:
|
|
- 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: debug_compile
|
|
image: scemama666/qp2_env
|
|
commands:
|
|
- bash -c "cd qp2 ; source quantum_package.rc ; exec ninja"
|
|
|
|
- name: debug_test
|
|
image: scemama666/qp2_env
|
|
commands:
|
|
- bash -c "cd qp2 ; source quantum_package.rc ; TRAVIS=1 exec qp_test -a"
|
|
|
|
- name: fast_configure
|
|
image: scemama666/qp2_env
|
|
commands:
|
|
- bash -c "cd qp2 ; exec ./configure -c ./config/gfortran_avx.cfg"
|
|
|
|
- name: fast_compile
|
|
image: scemama666/qp2_env
|
|
commands:
|
|
- bash -c "cd qp2 ; source quantum_package.rc ; exec ninja"
|
|
|
|
- name: fast_test
|
|
image: scemama666/qp2_env
|
|
commands:
|
|
- bash -c "cd qp2 ; source quantum_package.rc ; exec qp_test -a"
|
|
|
|
|
|
|