feat: initial commit

This commit is contained in:
Georg K
2023-01-06 01:30:28 +03:00
parent 675be2b043
commit 03c59fec32
2 changed files with 26 additions and 92 deletions

25
.gitlab-ci.yml Normal file
View File

@@ -0,0 +1,25 @@
stages:
- release-deb
release-deb:
stage: release-deb
image: ubuntu:18.04
variables:
DEBIAN_FRONTEND: noninteractive
RADIUS_REPO: "https://github.com/FreeRADIUS/freeradius-server.git"
RADIUS_TAG: "v3.2.x"
RLM_RAW_REPO: "https://github.com/jar3b/rlm_raw.git"
RLM_RAW_TAG: "master"
script:
- apt-get update
- apt-get install -y devscripts equivs git quilt gcc
- mkdir -p /usr/local/src/repositories && cd /usr/local/src/repositories
- git clone --depth 1 --single-branch --branch ${RADIUS_TAG} ${RADIUS_REPO}
- git clone --depth 1 --single-branch --branch ${RLM_RAW_TAG} ${RLM_RAW_REPO}
- mv rlm_raw/rlm_raw freeradius-server/src/modules
- cd freeradius-server
- git checkout ${RADIUS_TAG} && debian/rules debian/control && echo 'y' | mk-build-deps -irt'apt-get -yV' debian/control
- make -j2 deb
- ls -la ..
only:
- main