10
0
mirror of https://github.com/QuantumPackage/qp2.git synced 2024-06-23 21:52:25 +02:00
QuantumPackage/.drone.yml

29 lines
584 B
YAML
Raw Normal View History

2022-04-12 17:29:29 +02:00
---
2022-04-12 17:25:48 +02:00
kind: pipeline
2022-04-13 23:58:55 +02:00
type: docker
2022-04-12 17:25:48 +02:00
name: default
clone:
depth: 10
steps:
2022-04-13 23:58:55 +02:00
2022-04-12 17:25:48 +02:00
- name: configure
2022-04-14 01:15:21 +02:00
image: scemama666/qp2_env
2022-04-12 17:25:48 +02:00
commands:
- ./configure -i all -c ./config/gfortran_debug.cfg
2022-04-14 01:15:21 +02:00
- bash -c "source quantum_package.rc ; qp plugins download https://gitlab.com/scemama/qp_plugins_scemama"
- bash -c "source quantum_package.rc ; qp plugins install champ"
2022-04-12 17:25:48 +02:00
- name: compile
2022-04-14 01:15:21 +02:00
image: scemama666/qp2_env
2022-04-12 17:25:48 +02:00
commands:
2022-04-14 01:15:21 +02:00
- bash -c "source quantum_package.rc ; exec ninja"
2022-04-12 17:25:48 +02:00
- name: testing
2022-04-14 01:15:21 +02:00
image: scemama666/qp2_env
2022-04-12 17:25:48 +02:00
commands:
2022-04-14 01:15:21 +02:00
- bash -c "source quantum_package.rc ; qp test -a"
2022-04-12 17:25:48 +02:00