# -*- fill-column: 1000 -*- kind: pipeline name: build x86_64 volumes: - name: debian-package-cache host: path: /var/cache/debian-package-cache trigger: event: exclude: - tag steps: - 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: GCC 6 / clang 7 image: debian:stretch-slim pull: always environment: CXX: g++-6 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 g++-6 clang-7 cmake pkg-config - apt-get install -qq libcrypto++-dev libmagick++-dev libxdg-basedir-dev - dpkg -i identiconpp_stretch.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 pull: always settings: host: cryptoparty-celle.de from: drone@tzend.de username: from_secret: email_username password: from_secret: email_password when: status: [ changed, failure ]