Verified Commit c866624f authored by Marco Marinello's avatar Marco Marinello
Browse files

Add CI/CD

parent 53927265
# Is performed before the scripts in the stages step
before_script:
- source /etc/profile
# Defines stages which are to be executed
stages:
- test
# Stage "build"
build-jessie:
image: registry.gitlab.com/fusslab/builder:jessie
stage: test
script:
- rm ../* || true
- apt-get update -qy
- mk-build-deps
- dpkg -i fuss-*deps*.deb || apt-get install -fy
- rm fuss-*deps*.deb
- debuild -us -uc
- mkdir artifacts
- cp ../* artifacts || true
# The files which are to be made available in GitLab
artifacts:
paths:
- artifacts/*
# Stage "build"
build-stretch:
image: registry.gitlab.com/fusslab/builder:stretch
stage: test
script:
- rm ../* || true
- apt-get update -qy
- mk-build-deps
- dpkg -i fuss-*deps*.deb || apt-get install -fy
- rm fuss-*deps*.deb
- debuild -us -uc
- mkdir artifacts
- cp ../* artifacts || true
# The files which are to be made available in GitLab
artifacts:
paths:
- artifacts/*
# Stage "build"
build-buster:
image: registry.gitlab.com/fusslab/builder:buster
stage: test
script:
- rm ../* || true
- apt-get update -qy
- mk-build-deps
- dpkg -i fuss-*deps*.deb || apt-get install -fy
- rm fuss-*deps*.deb
- debuild -us -uc
- mkdir artifacts
- cp ../* artifacts || true
# The files which are to be made available in GitLab
artifacts:
paths:
- artifacts/*
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment