qp2/.drone.yml

51 lines
862 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
- name: setup
image: ubuntu
commands:
- apt-get update
- DEBIAN_FRONTEND=noninteractive apt-get install -y \
git \
curl \
wget \
python3 \
gfortran \
gcc \
g++ \
make \
build-essential \
rsync \
unzip \
libopenblas-dev \
pkg-config \
m4 \
python3
- ln -s /usr/bin/python3 /usr/bin/python
2022-04-12 17:25:48 +02:00
- name: configure
2022-04-13 23:58:55 +02:00
image: ubuntu
2022-04-12 17:25:48 +02:00
commands:
- ./configure -i all -c ./config/gfortran_debug.cfg
- source quantum_package.rc ; qp plugins download https://gitlab.com/scemama/qp_plugins_scemama
- source quantum_package.rc ; qp plugins install champ
- name: compile
2022-04-13 23:58:55 +02:00
image: ubuntu
2022-04-12 17:25:48 +02:00
commands:
2022-04-13 23:58:55 +02:00
- source quantum_package.rc ; ninja
2022-04-12 17:25:48 +02:00
- name: testing
2022-04-13 23:58:55 +02:00
image: ubuntu
2022-04-12 17:25:48 +02:00
commands:
2022-04-13 23:58:55 +02:00
- source quantum_package.rc ; qp test -a
2022-04-12 17:25:48 +02:00