# -*- 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: Download identiconpp for Debian buster image: plugins/download settings: source: https://schlomp.space/attachments/a94b0252-db1e-4122-bc27-cb6679acb3af destination: identiconpp_buster.deb # - name: GCC 6 # 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 # - echo "APT::Default-Release \"stretch\";" >> /etc/apt/apt.conf.d/00default_release # - echo "deb http://deb.debian.org/debian stretch-backports main" >> /etc/apt/sources.list.d/stretch.list # - apt-get update -q # - apt-get install -qq -t stretch-backports cmake # - apt-get install -qq g++-6 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 # 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 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 ]