Skip to content
Snippets Groups Projects
Commit 70bdb190 authored by Pavel Vondruska's avatar Pavel Vondruska
Browse files

Initial commit

parents
No related branches found
No related tags found
No related merge requests found
Pipeline #954 passed
image: debian:bullseye
# Is performed before the scripts in the stages step
before_script:
- source /etc/profile
variables:
DEBEMAIL: "Pavel Vondruska <dexter.cz@gmail.com>"
# 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 → 100755
#!/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 devscripts build-essential python3 dh-autoreconf libssl-dev libxt-dev libhwloc-dev heimdal-multidev python3-dev -yqqq
git clone https://github.com/CESNET/pbspro -b release_20191114
cd pbspro
git clone https://github.com/CESNET/pbspro.build build
mv build/pbspro.build .
mv build/release.sh .
mk-build-deps --install --tool='apt-get -o Debug::pkgProblemResolver=yes --yes' pbspro.build/control.deb11
./release.sh
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