10
0
mirror of https://github.com/QuantumPackage/qp2.git synced 2024-12-22 12:23:43 +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 kind: pipeline
type: ssh type: docker
name: default name: default
clone: clone:
depth: 10 depth: 10
steps: 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 - name: configure
pull: never image: ubuntu
image: ubuntu/qp2_env
commands: commands:
- ./configure -i all -c ./config/gfortran_debug.cfg - ./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 download https://gitlab.com/scemama/qp_plugins_scemama
- source quantum_package.rc ; qp plugins install champ - source quantum_package.rc ; qp plugins install champ
- name: compile - name: compile
pull: never image: ubuntu
image: ubuntu/qp2_env
commands: commands:
- ninja - source quantum_package.rc ; ninja
- name: testing - name: testing
pull: never image: ubuntu
image: ubuntu/qp2_env
commands: commands:
- qp test - source quantum_package.rc ; qp test -a

View File

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