mirror of
https://github.com/QuantumPackage/qp2.git
synced 2024-12-21 11:03:29 +01:00
Drone CI file
This commit is contained in:
parent
e813fd04f9
commit
d692391b6b
38
.drone.yml
38
.drone.yml
@ -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
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
kind: pipeline
|
||||
type: ssh
|
||||
type: docker
|
||||
name: default
|
||||
|
||||
clone:
|
||||
|
Loading…
Reference in New Issue
Block a user