9
1
mirror of https://github.com/QuantumPackage/qp2.git synced 2024-12-30 15:15:38 +01:00

Drone CI file

This commit is contained in:
Anthony Scemama 2022-04-13 23:58:55 +02:00
parent e813fd04f9
commit d692391b6b
2 changed files with 30 additions and 10 deletions

View File

@ -1,30 +1,50 @@
---
kind: pipeline
type: ssh
type: docker
name: default
clone:
depth: 10
steps:
- 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
- name: configure
pull: never
image: ubuntu/qp2_env
image: ubuntu
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
pull: never
image: ubuntu/qp2_env
image: ubuntu
commands:
- ninja
- source quantum_package.rc ; ninja
- name: testing
pull: never
image: ubuntu/qp2_env
image: ubuntu
commands:
- qp test
- source quantum_package.rc ; qp test -a

View File

@ -1,6 +1,6 @@
---
kind: pipeline
type: ssh
type: docker
name: default
clone: