Skip to content
Snippets Groups Projects
Commit 67af5dfb authored by nrbffs's avatar nrbffs
Browse files

add CI

parent 729bc8bd
Branches
Tags
No related merge requests found
image: registry.gitlab.com/freifunk-region/stuttgart/buildenv:master
variables:
GIT_SUBMODULE_STRATEGY: normal
stages:
- build
build:
stage: build
script:
- ./buildall.sh
artifacts:
paths:
- gluon/output/
expire_in: 1 day
...@@ -22,9 +22,9 @@ TARGETS=( ...@@ -22,9 +22,9 @@ TARGETS=(
) )
sitedir=$(readlink -f $(dirname $0)) sitedir=$(readlink -f $(dirname $0))
make -C gluon update GLUON_SITEDIR="$sitedir" make -C gluon update GLUON_SITEDIR="$sitedir" V=1
for target in ${TARGETS[@]}; do for target in ${TARGETS[@]}; do
echo Building $target echo Building $target
make -C gluon GLUON_TARGET=$target GLUON_BRANCH=$branch GLUON_SITEDIR="$sitedir" -j`nproc` make -C gluon GLUON_TARGET=$target GLUON_BRANCH=$branch GLUON_SITEDIR="$sitedir" V=1 -j`nproc`
done done
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment