feat: initial commit
This commit is contained in:
25
.gitlab-ci.yml
Normal file
25
.gitlab-ci.yml
Normal 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
|
||||
Reference in New Issue
Block a user