This commit is contained in:
parent
891d5d3ca3
commit
d523342f6a
64
.drone.yml
64
.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
|
||||
|
|
Loading…
Reference in New Issue
Block a user