From 75dca5f9b5d79681729f713366a120a5e26d6e3f Mon Sep 17 00:00:00 2001 From: Anthony Scemama Date: Thu, 14 Apr 2022 01:15:21 +0200 Subject: [PATCH] Update droneCI --- .drone.yml | 36 +++++++----------------------------- 1 file changed, 7 insertions(+), 29 deletions(-) diff --git a/.drone.yml b/.drone.yml index 4d20225b..b213de7b 100644 --- a/.drone.yml +++ b/.drone.yml @@ -7,44 +7,22 @@ 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 - image: ubuntu + image: scemama666/qp2_env 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 + - bash -c "source quantum_package.rc ; qp plugins download https://gitlab.com/scemama/qp_plugins_scemama" + - bash -c "source quantum_package.rc ; qp plugins install champ" - name: compile - image: ubuntu + image: scemama666/qp2_env commands: - - source quantum_package.rc ; ninja + - bash -c "source quantum_package.rc ; exec ninja" - name: testing - image: ubuntu + image: scemama666/qp2_env commands: - - source quantum_package.rc ; qp test -a + - bash -c "source quantum_package.rc ; qp test -a"