25 lines
823 B
YAML
25 lines
823 B
YAML
image: openwrtorg/packages-cci
|
|
|
|
stages:
|
|
- compile
|
|
|
|
compile:
|
|
stage: compile
|
|
script:
|
|
- 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: |