Split build into pipelines
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Armin Friedl 2021-02-24 21:41:48 +01:00
parent a80be616f6
commit 93440cacf2
Signed by: armin
GPG key ID: 48C726EEE7FBCBC8
3 changed files with 14 additions and 5 deletions

View file

@ -1,11 +1,13 @@
kind: pipeline kind: pipeline
name: default type: docker
name: glibc-shared
steps: steps:
- name: glibc-shared - name: build
image: plugins/docker image: plugins/docker
settings: settings:
dockerfile: glibc-shared/Dockerfile dockerfile: glibc-shared/Dockerfile
context: glibc-shared
username: username:
from_secret: docker_username from_secret: docker_username
password: password:
@ -14,10 +16,17 @@ steps:
tags: tags:
- shared - shared
- name: musl-static ---
kind: pipeline
type: docker
name: musl-static
steps:
- name: build
image: plugins/docker image: plugins/docker
settings: settings:
dockerfile: musl-static/Dockerfile dockerfile: musl-static/Dockerfile
context: musl-static
username: username:
from_secret: docker_username from_secret: docker_username
password: password:

View file

@ -4,7 +4,7 @@ FROM ubuntu:rolling
# dialog when e.g. installing tzdata # dialog when e.g. installing tzdata
ARG DEBIAN_FRONTEND=noninteractive ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update -y && apt-get upgrade -y && apt-get install -y\ RUN apt-get update -y && apt-get upgrade -y && apt-get install -y \
# Base dependencies for: `git push` xwim build # Base dependencies for: `git push` xwim build
## meson/build essentials ## meson/build essentials
build-essential cmake pkg-config meson ninja-build g++ doxygen git \ build-essential cmake pkg-config meson ninja-build g++ doxygen git \

View file

@ -3,7 +3,7 @@ FROM alpine:3.13
ENV LDFLAGS="-static-libgcc -static-libstdc++ -static" ENV LDFLAGS="-static-libgcc -static-libstdc++ -static"
RUN apk add --no-cache \ RUN apk add --no-cache \
build-base cmake git meson pkgconf doxygen graphviz \ build-base cmake git meson pkgconf doxygen graphviz zip \
libarchive-static libarchive-dev \ libarchive-static libarchive-dev \
libressl-dev \ libressl-dev \
tclap-dev \ tclap-dev \