29 lines
627 B
YAML
29 lines
627 B
YAML
# Is performed before the scripts in the stages step
|
|
|
|
before_script:
|
|
- source /etc/profile
|
|
|
|
# Defines stages which are to be executed
|
|
stages:
|
|
- build
|
|
|
|
# Stage "build"
|
|
run-build:
|
|
stage: build
|
|
script:
|
|
- apt update
|
|
- apt install -y build-essential dh-make devscripts git dh-make build-essential autoconf autotools-dev
|
|
- dpkg-buildpackage -us -uc
|
|
- mkdir build
|
|
- mv ../*.deb *.dsc *.changes *.tar.xz build/
|
|
|
|
tags:
|
|
- selfhosted-1
|
|
# This stage is only executed for new tags
|
|
only:
|
|
- tags
|
|
|
|
# The files which are to be made available in GitLab
|
|
artifacts:
|
|
paths:
|
|
- build/*
|