Skip to content
Snippets Groups Projects
Verified Commit 7aebad8f authored by Jakub Havrila's avatar Jakub Havrila
Browse files

Initial CI and make

parents
No related branches found
No related tags found
No related merge requests found
Pipeline #5282 failed
image: debian:bullseye
# Is performed before the scripts in the stages step
before_script:
- source /etc/profile
variables:
DEBEMAIL: "Jakub Havrila <havrila@cesnet.cz>"
# Defines stages which are to be executed
stages:
- build
# Stage "build"
run-build:
stage: build
script:
- ./make.sh
# This stage is only executed if commited to master
only:
- master
# The files which are to be made available in GitLab
artifacts:
paths:
- build/*
make.sh 0 → 100644
#!/bin/bash -x
cat > /etc/apt/sources.list << EOSOURCES
deb http://ftp.zcu.cz/pub/linux/debian bullseye main contrib non-free
deb http://ftp.zcu.cz/pub/linux/debian bullseye-updates main contrib non-free
deb http://ftp.zcu.cz/pub/linux/debian-security bullseye-security main contrib non-free
deb-src http://ftp.zcu.cz/pub/linux/debian bullseye main contrib non-free
deb-src http://ftp.zcu.cz/pub/linux/debian bullseye-updates main contrib non-free
deb-src http://ftp.zcu.cz/pub/linux/debian-security bullseye-security main contrib non-free
EOSOURCES
apt update -qqq
apt install git ca-certificates build-essential debhelper automake autoconf libtool pkg-config --no-install-recommends -qqq -y
git clone https://github.com/CESNET/pakiti-client
cd pakiti-client
dpkg-buildpackage -uc -us -b
cd ..
mkdir build
mv *.deb build/
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment