From baf971b247fb5df5c6d4267a4881a3bd0d57ad06 Mon Sep 17 00:00:00 2001 From: klever1988 <56048681+klever1988@users.noreply.github.com> Date: Tue, 21 Jan 2020 00:05:04 +0800 Subject: [PATCH] Delete OpenWrt-CI.yml --- OpenWrt-CI.yml | 110 ------------------------------------------------- 1 file changed, 110 deletions(-) delete mode 100644 OpenWrt-CI.yml diff --git a/OpenWrt-CI.yml b/OpenWrt-CI.yml deleted file mode 100644 index 9fb8ef3..0000000 --- a/OpenWrt-CI.yml +++ /dev/null @@ -1,110 +0,0 @@ -#NanoPi-R1S H5 FriendlyWrt Build - -name: NanoPi-R1S H5 FriendlyWrt Build - -on: - push: - branches: - - master - # schedule: - # - cron: 0 20 * * * - # release: - # types: [published] - -jobs: - - build: - - runs-on: ubuntu-latest - - steps: - - - name: Checkout - uses: actions/checkout@master - with: - ref: master - - - name: Initialization Environment - env: - DEBIAN_FRONTEND: noninteractive - run: | - wget -O - https://raw.githubusercontent.com/friendlyarm/build-env-on-ubuntu-bionic/master/install.sh | bash - - - name: Install Repo - run: | - git clone https://github.com/friendlyarm/repo - sudo cp repo/repo /usr/bin/ - - - name: Download Source - run: | - mkdir friendlywrt-h5 - cd friendlywrt-h5 - repo init -u https://github.com/friendlyarm/friendlywrt_manifests -b master -m h5.xml --repo-url=https://github.com/friendlyarm/repo --no-clone-bundle - - - name: Merge UpStearm OpenWrt - run: | - cd friendlywrt-h5 - cd .repo/manifests - rm -f ./h5.xml - wget https://raw.githubusercontent.com/camino13/NanoPi-R1S/master/h5.xml - repo sync -c --no-clone-bundle - - - name: Merge LEDE - run: | - cd friendlywrt-h5 - git clone https://github.com/coolsnowwolf/lede - cd friendlywrt - cp -r ../lede/package/lean package/ - sed -i 's/https:\/\/git.openwrt.org\/project\/luci.git;openwrt-19.07/https:\/\/github.com\/coolsnowwolf\/luci/' feeds.conf.default - sed -i 's/https:\/\/git.openwrt.org\/feed\/packages.git;openwrt-19.07/https:\/\/github.com\/coolsnowwolf\/packages/' feeds.conf.default - - - name: Custom Applications - run: | - cd friendlywrt-h5/friendlywrt/package - git clone https://github.com/Baozisoftware/luci-app-koolproxy - - - name: Update Target.mk - run: | - cd friendlywrt-h5/friendlywrt/include - sed -i 's/dnsmasq /dnsmasq-full default-settings luci/' target.mk - - - name: Update Feeds - run: | - cd friendlywrt-h5/friendlywrt - ./scripts/feeds update -a - ./scripts/feeds install -a - - - name: Custom Configure File - run: | - cd friendlywrt-h5/friendlywrt - rm -f ./.config* - wget https://raw.githubusercontent.com/camino13/NanoPi-R1S/master/r1s-h5-config - cp r1s-h5-config .config - - - name: Download package - if: always() - run: | - cd friendlywrt-h5/friendlywrt - make download -j8 - find dl -size -1024c -exec ls -l {} \; - find dl -size -1024c -exec rm -f {} \; - - - name: Build FriendlyWrt - run: | - cd friendlywrt-h5 - ./build.sh nanopi_r1s.mk - - - name: Zip Files - run: | - find friendlywrt-h5/out/ -name "FriendlyWrt_*img*" | xargs -i zip -r {}.zip {} - - - name: Assemble Artifact - run: | - rm -rf ./artifact/ - mkdir -p ./artifact/ - find friendlywrt-h5/out/ -name "FriendlyWrt_*img.zip*" | xargs -i mv -f {} ./artifact/ - - name: Upload Artifact - uses: actions/upload-artifact@master - with: - name: FriendlyWrt_NanoPi-R1S - path: ./artifact/