image: openwrtorg/packages-cci variables: SDK_HOST: "downloads.openwrt.org" SDK_PATH: "snapshots/targets/ar71xx/generic" SDK_FILE: "openwrt-sdk-ar71xx-generic_*.Linux-x86_64.tar.xz" stages: - compile compile: stage: compile script: - mkdir ~/build_dir - 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 ====" - echo src-git base https://github.com/openwrt/openwrt.git;master src-link wifictld /builds/$CI_PROJECT_PATH > feeds.conf - 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: