diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml deleted file mode 100644 index 057ed9e35..000000000 --- a/.github/workflows/ccpp.yml +++ /dev/null @@ -1,280 +0,0 @@ -# -# This is free software, lisence use MIT. -# -# Copyright (C) 2019 P3TERX -# Copyright (C) 2019 KFERMercer -# -# -# - -name: OpenWrt18.06-CI-精简版 -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: Space cleanup - env: - DEBIAN_FRONTEND: noninteractive - run: | - docker rmi `docker images -q` - sudo rm -rf /usr/share/dotnet /etc/mysql /etc/php /etc/apt/sources.list.d - sudo -E apt-get -y purge azure-cli ghc* zulu* hhvm llvm* firefox google* dotnet* powershell openjdk* mysql* php* - sudo -E apt-get update - sudo -E apt-get -y install 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 -E apt-get -y autoremove --purge - sudo -E apt-get clean - # sudo mkdir -p -m 777 /mnt/openwrt/bin /mnt/openwrt/build_dir/host /mnt/openwrt/build_dir/hostpkg /mnt/openwrt/dl /mnt/openwrt/feeds /mnt/openwrt/staging_dir - # ln -s /mnt/openwrt/bin ./bin - # mkdir -p ./build_dir/host && ln -s /mnt/openwrt/build_dir/host ./build_dir/host - # mkdir -p ./build_dir/host && ln -s /mnt/openwrt/build_dir/hostpkg ./build_dir/hostpkg - # ln -s /mnt/openwrt/dl ./dl - # ln -s /mnt/openwrt/feeds ./feeds - # ln -s /mnt/openwrt/staging_dir ./staging_dir - df -h - - name: 自定义插件 - run: | - cd package/diy - - tar xvJf luci-app-docker.tar.xz - tar xvJf luci-app-koolddns.tar.xz - tar xvJf luci-app-rclone.tar.xz - git clone https://github.com/Sweet-Fairy/openwrt-package - git clone https://github.com/Leo-Jo-My/luci-app-vssr - git clone https://github.com/lisaac/luci-lib-docker.git package/luci-lib-docker - git clone https://github.com/lisaac/luci-app-dockerman.git package/luci-app-dockerman - - # ==========以上是示范如何加入tar.xz解包和拉github源码编译========== - - name: Update feeds - run: | - ./scripts/feeds update -a - ./scripts/feeds install -a - - name: Generate configuration file - run: | - rm -f ./.config* - touch ./.config - # - # ========================固件定制部分======================= - # - # - # 如果不对本区块做出任何编辑, 则生成默认配置固件. - # - # 以下为定制化固件选项和说明: - # - # - # 有些插件/选项是默认开启的, 如果想要关闭, 请参照以下示例进行编写: - # - # ========================================= - # | # 取消编译VMware镜像: | - # | cat >> .config <> .config <> .config <> .config <> .config <> .config <> .config <> .config <> .config <> .config <> .config <