Update .gitlab-ci.yml

This commit is contained in:
Martin/Geno 2019-02-26 12:37:39 +01:00
parent 9ef02573c4
commit 0d776516cc
1 changed files with 15 additions and 1 deletions

View File

@ -6,6 +6,20 @@ stages:
compile: compile:
stage: compile stage: compile
script: script:
- ls . ~/ - cd ~/build_dir
- echo "==== extract sdk ===="
- rsync -av "$SDK_HOST::downloads/$SDK_PATH/$SDK_FILE" ~/sdk/
- tar Jxf ~/sdk/$SDK_FILE --strip=1
- echo "==== run feed ===="
- cat > feeds.conf <<EOF
src-git base https://github.com/openwrt/openwrt.git;master
src-link wifictld /builds/$CI_PROJECT_PATH
EOF
- cat feeds.conf
- ./scripts/feeds update -a > /dev/null
- ./scripts/feeds install -a > /dev/null
- make defconfig > /dev/null
- sed -i 's/# CONFIG_BUILD_LOG is not set/CONFIG_BUILD_LOG=y/' .config
- for PKG in /builds/$CI_PROJECT_PATH/wifictld/* ; do echo $PKG; done
artifacts: artifacts:
paths: paths: