Re-ordered drone recipe.
This commit is contained in:
parent
3f3964973a
commit
55cec75654
47
.drone.yml
47
.drone.yml
|
@ -18,6 +18,30 @@ steps:
|
||||||
source: https://raw.githubusercontent.com/badaix/popl/v1.2.0/include/popl.hpp
|
source: https://raw.githubusercontent.com/badaix/popl/v1.2.0/include/popl.hpp
|
||||||
destination: src/popl.hpp
|
destination: src/popl.hpp
|
||||||
|
|
||||||
|
- name: gcc6
|
||||||
|
image: debian:stretch-slim
|
||||||
|
pull: always
|
||||||
|
environment:
|
||||||
|
LANG: C.utf8
|
||||||
|
CXX: g++-6
|
||||||
|
CXXFLAGS: -pipe -O2
|
||||||
|
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 sid main" >> /etc/apt/sources.list.d/sid.list
|
||||||
|
- apt-get update -q
|
||||||
|
- apt-get install -qy g++-6 cmake pkg-config
|
||||||
|
- apt-get install -qy libcurl4-openssl-dev libxdg-basedir-dev libvsqlitepp-dev libboost-system-dev libboost-filesystem-dev asciidoc catch
|
||||||
|
- apt-get install -qy -t sid libcurlpp-dev
|
||||||
|
- rm -rf build && mkdir -p build && cd build
|
||||||
|
- cmake -DCMAKE_INSTALL_PREFIX=/usr -DWITH_TESTS=YES ..
|
||||||
|
- make VERBOSE=1
|
||||||
|
- make install DESTDIR=install
|
||||||
|
- ctest
|
||||||
|
volumes:
|
||||||
|
- name: debian-package-cache
|
||||||
|
path: /var/cache/apt/archives
|
||||||
|
|
||||||
- name: gcc5
|
- name: gcc5
|
||||||
image: debian:stretch-slim
|
image: debian:stretch-slim
|
||||||
pull: always
|
pull: always
|
||||||
|
@ -46,29 +70,6 @@ steps:
|
||||||
- name: debian-package-cache
|
- name: debian-package-cache
|
||||||
path: /var/cache/apt/archives
|
path: /var/cache/apt/archives
|
||||||
|
|
||||||
- name: gcc6
|
|
||||||
image: debian:stretch-slim
|
|
||||||
pull: always
|
|
||||||
environment:
|
|
||||||
LANG: C.utf8
|
|
||||||
CXX: g++-6
|
|
||||||
CXXFLAGS: -pipe -O2
|
|
||||||
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 sid main" >> /etc/apt/sources.list.d/sid.list
|
|
||||||
- apt-get update -q
|
|
||||||
- apt-get install -qy g++-6 cmake pkg-config
|
|
||||||
- apt-get install -qy libcurl4-openssl-dev libxdg-basedir-dev libvsqlitepp-dev libboost-system-dev libboost-filesystem-dev asciidoc catch
|
|
||||||
- apt-get install -qy -t sid libcurlpp-dev
|
|
||||||
- rm -rf build && mkdir -p build && cd build
|
|
||||||
- cmake -DCMAKE_INSTALL_PREFIX=/usr -DWITH_TESTS=YES ..
|
|
||||||
- make VERBOSE=1
|
|
||||||
- ctest
|
|
||||||
volumes:
|
|
||||||
- name: debian-package-cache
|
|
||||||
path: /var/cache/apt/archives
|
|
||||||
|
|
||||||
- name: gcc7
|
- name: gcc7
|
||||||
image: debian:stretch-slim
|
image: debian:stretch-slim
|
||||||
pull: always
|
pull: always
|
||||||
|
|
|
@ -40,6 +40,7 @@ emerge -a www-misc/remwharead
|
||||||
** Tests: https://github.com/catchorg/Catch2[catch] (tested: 2.5 / 1.2)
|
** Tests: https://github.com/catchorg/Catch2[catch] (tested: 2.5 / 1.2)
|
||||||
|
|
||||||
.Install dependencies in Debian stretch.
|
.Install dependencies in Debian stretch.
|
||||||
|
====
|
||||||
[source,zsh]
|
[source,zsh]
|
||||||
----
|
----
|
||||||
echo "APT::Default-Release \"stretch\";" >> /etc/apt/apt.conf.d/00default_release
|
echo "APT::Default-Release \"stretch\";" >> /etc/apt/apt.conf.d/00default_release
|
||||||
|
@ -51,6 +52,7 @@ apt-get install -t sid libcurlpp-dev
|
||||||
wget -O src/popl.hpp https://raw.githubusercontent.com/badaix/popl/v1.2.0/include/popl.hpp
|
wget -O src/popl.hpp https://raw.githubusercontent.com/badaix/popl/v1.2.0/include/popl.hpp
|
||||||
CXX="g++-6"
|
CXX="g++-6"
|
||||||
----
|
----
|
||||||
|
====
|
||||||
|
|
||||||
==== Get sourcecode
|
==== Get sourcecode
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user