Update .gitlab-ci.yml
This commit is contained in:
parent
9ef02573c4
commit
0d776516cc
|
@ -6,6 +6,20 @@ stages:
|
|||
compile:
|
||||
stage: compile
|
||||
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:
|
||||
paths:
|
Loading…
Reference in New Issue