From d523342f6a5ff8a6446a856b7570e652359f1e29 Mon Sep 17 00:00:00 2001 From: tastytea Date: Sat, 24 Oct 2020 11:35:50 +0200 Subject: [PATCH] Re-enable CI. --- .drone.yml | 64 +++++++++++++++++++++++++++++------------------------- 1 file changed, 35 insertions(+), 29 deletions(-) diff --git a/.drone.yml b/.drone.yml index 493c595..bf7c5ca 100644 --- a/.drone.yml +++ b/.drone.yml @@ -13,11 +13,17 @@ trigger: - tag steps: -- name: Download identiconpp for Debian stretch +# - name: Download identiconpp for Debian stretch +# image: plugins/download +# settings: +# source: https://schlomp.space/attachments/f40d4b6e-ab9f-4cb7-a83e-cb1d8490e9ee +# destination: identiconpp_stretch.deb + +- name: Download identiconpp for Debian buster image: plugins/download settings: - source: https://schlomp.space/attachments/f40d4b6e-ab9f-4cb7-a83e-cb1d8490e9ee - destination: identiconpp_stretch.deb + source: https://schlomp.space/attachments/a94b0252-db1e-4122-bc27-cb6679acb3af + destination: identiconpp_buster.deb # - name: GCC 6 # image: debian:stretch-slim @@ -44,32 +50,32 @@ steps: # - name: debian-package-cache # path: /var/cache/apt/archives -# - name: GCC 8 / clang 7 -# image: debian:buster-slim -# pull: always -# environment: -# CXX: g++-8 -# CXXFLAGS: -pipe -O2 -# DEBIAN_FRONTEND: noninteractive -# LANG: C.utf8 -# commands: -# - rm /etc/apt/apt.conf.d/docker-clean -# - apt-get update -q -# - apt-get install -qq build-essential clang pkg-config cmake -# - apt-get install -qq libcrypto++-dev libmagick++-dev libxdg-basedir-dev -# - dpkg -i identiconpp_buster.deb -# - rm -rf build && mkdir -p build && cd build -# - cmake .. -# - cmake --build . -# - make install -# - cd ../ -# - rm -rf build && mkdir -p build && cd build -# - CXX="clang++" cmake .. -# - cmake --build . -# - make install -# volumes: -# - name: debian-package-cache -# path: /var/cache/apt/archives +- name: GCC 8 / clang 7 + image: debian:buster-slim + pull: always + environment: + CXX: g++-8 + CXXFLAGS: -pipe -O2 + DEBIAN_FRONTEND: noninteractive + LANG: C.utf8 + commands: + - rm /etc/apt/apt.conf.d/docker-clean + - apt-get update -q + - apt-get install -qq build-essential clang pkg-config cmake + - apt-get install -qq libcrypto++-dev libmagick++-dev libxdg-basedir-dev + - dpkg -i identiconpp_buster.deb + - rm -rf build && mkdir -p build && cd build + - cmake .. + - cmake --build . + - make install + - cd ../ + - rm -rf build && mkdir -p build && cd build + - CXX="clang++" cmake .. + - cmake --build . + - make install + volumes: + - name: debian-package-cache + path: /var/cache/apt/archives - name: notification image: drillster/drone-email