9
1
mirror of https://github.com/QuantumPackage/qp2.git synced 2024-12-21 11:03:29 +01:00

Merge branch 'master' of github.com:QuantumPackage/qp2

This commit is contained in:
Anthony Scemama 2022-04-19 10:05:53 +02:00
commit aed545f02c

View File

@ -7,45 +7,23 @@ 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
image: ubuntu image: scemama666/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 - bash -c "source quantum_package.rc ; qp plugins download https://gitlab.com/scemama/qp_plugins_scemama"
- source quantum_package.rc ; qp plugins install champ - bash -c "source quantum_package.rc ; qp plugins install champ"
- name: compile - name: compile
image: ubuntu image: scemama666/qp2_env
commands: commands:
- source quantum_package.rc ; ninja - bash -c "source quantum_package.rc ; exec ninja"
- name: testing - name: testing
image: ubuntu image: scemama666/qp2_env
commands: commands:
- source quantum_package.rc ; TRAVIS=1 qp_test -a - bash -c "source quantum_package.rc ; TRAVIS=1 qp_test -a"
- name: re-configure - name: re-configure
@ -56,10 +34,10 @@ steps:
- name: compile - name: compile
image: ubuntu image: ubuntu
commands: commands:
- source quantum_package.rc ; ninja - bash -c "source quantum_package.rc ; ninja"
- name: testing - name: testing
image: ubuntu image: ubuntu
commands: commands:
- source quantum_package.rc ; qp_test -a - bash -c "source quantum_package.rc ; qp_test -a"