From 0bbcce3352c91cbb35295699e4b2a5a1f6daaf1d Mon Sep 17 00:00:00 2001 From: klever1988 <56048681+klever1988@users.noreply.github.com> Date: Tue, 18 Feb 2020 15:45:38 +0800 Subject: [PATCH] Delete offcial_feed.yml --- .github/workflows/offcial_feed.yml | 87 ------------------------------ 1 file changed, 87 deletions(-) delete mode 100644 .github/workflows/offcial_feed.yml diff --git a/.github/workflows/offcial_feed.yml b/.github/workflows/offcial_feed.yml deleted file mode 100644 index 7a047ed..0000000 --- a/.github/workflows/offcial_feed.yml +++ /dev/null @@ -1,87 +0,0 @@ -name: NanoPi-R1S H5 Openwrt(lean) Build - -on: - push: - paths: - - '.github/workflows/offcial_feed.yml' - -jobs: - - build: - - runs-on: ubuntu-latest - - steps: - - - name: Checkout - uses: actions/checkout@master - with: - ref: master - - - name: Initialization Environment - env: - DEBIAN_FRONTEND: noninteractive - run: | - sudo apt-get -y update - wget -O - https://raw.githubusercontent.com/friendlyarm/build-env-on-ubuntu-bionic/master/install.sh | bash - sudo apt-get -y install bc build-essential asciidoc binutils bzip2 gawk gettext git libncurses5-dev libz-dev patch unzip zlib1g-dev lib32gcc1 libc6-dev-i386 subversion flex uglifyjs git-core gcc-multilib p7zip p7zip-full msmtp libssl-dev texinfo libglib2.0-dev xmlto qemu-utils upx libelf-dev autoconf automake libtool autopoint device-tree-compiler - sudo rm -rf /usr/share/dotnet /usr/local/lib/android/sdk - - - 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 - rm .repo/manifests/h5.xml - cp ../h5-19.07.xml .repo/manifests/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/http.*luci.*/https:\/\/github.com\/coolsnowwolf\/luci/' feeds.conf.default - #sed -i 's/http.*feed\/packages.*/https:\/\/github.com\/coolsnowwolf\/packages/' feeds.conf.default - #echo 'src-git rosy https://github.com/rosywrt/luci-theme-rosy.git;openwrt-18.06' >> feeds.conf.default - - - name: Update Target.mk - run: | - cd friendlywrt-h5/friendlywrt/include - #sed -i 's/dnsmasq /dnsmasq-full default-settings luci /' target.mk - - - name: Custom Configure File - run: | - cd friendlywrt-h5 - rm -f friendlywrt/.config* - echo >> ./configs/config_h5 - echo 'CONFIG_PACKAGE_openssl-util=y' >> ./configs/config_h5 - sed -i '/DISPLAY/d' ./configs/config_h5 - - - 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 {} - gzip friendlywrt-h5/out/*.img - - - name: Assemble Artifact - run: | - rm -rf ./artifact/ - mkdir -p ./artifact/ - #find friendlywrt-h5/out/ -name "FriendlyWrt_*img.zip*" | xargs -i mv -f {} ./artifact/ - mv friendlywrt-h5/out/*img* ./artifact/ - cp friendlywrt-h5/friendlywrt/.config ./artifact/ - - name: Upload Artifact - uses: actions/upload-artifact@master - with: - name: FriendlyWrt_NanoPi-R1S - path: ./artifact/