diff --git a/.config b/.config index 05b98070..5e5012b2 100644 --- a/.config +++ b/.config @@ -30,8 +30,16 @@ CONFIG_PACKAGE_kmod-crypto-null=y CONFIG_PACKAGE_kmod-crypto-aead=y CONFIG_PACKAGE_kmod-crypto-manager=y CONFIG_PACKAGE_kmod-crypto-authenc=y +CONFIG_PACKAGE_luci-app-kodexplorer=y +CONFIG_PACKAGE_kmod-fs-ntfs=y +CONFIG_PACKAGE_luci-app-samba=y +CONFIG_PACKAGE_luci-app-docker=y +CONFIG_PACKAGE_luci-app-nps=y +CONFIG_PACKAGE_luci-app-uhttpd=y +CONFIG_PACKAGE_luci-app-diskman_INCLUDE_btrfs_progs=y +CONFIG_PACKAGE_luci-app-diskman_INCLUDE_lsblk=y +CONFIG_PACKAGE_luci-app-attendedsysupgrade=y +CONFIG_PACKAGE_luci-app-vsftpd=y # CONFIG_PACKAGE_luci-app-accesscontrol is not set # CONFIG_PACKAGE_luci-app-unblockmusic is not set # CONFIG_PACKAGE_luci-app-ddns is not set -# CONFIG_PACKAGE_luci-app-filetransfer is not set -# CONFIG_PACKAGE_luci-app-vsftpd=y is not set diff --git a/.github/workflows/openwrt.yml b/.github/workflows/openwrt.yml deleted file mode 100644 index aa18b919..00000000 --- a/.github/workflows/openwrt.yml +++ /dev/null @@ -1,80 +0,0 @@ -# -# This is free software, lisence use MIT. -# -# Copyright (C) 2019 P3TERX -# Copyright (C) 2020 KFERMercer -# -# -# - -name: OpenWrt - -on: - push: - branches: - - master - schedule: - - cron: 0 2 * * * - watch: - types: started - -jobs: - build: - runs-on: ubuntu-latest - if: github.event.repository.owner.id == github.event.sender.id - - steps: - - name: Checkout - uses: actions/checkout@master - - - name: Initialization environment - env: - DEBIAN_FRONTEND: noninteractive - run: | - sudo -E apt-get -yqq update - sudo -E apt-get -yqq install build-essential asciidoc binutils bzip2 gawk gettext git libncurses5-dev libz-dev patch python3 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 g++-multilib - sudo -E apt-get -y autoremove --purge - sudo -E apt-get clean - - name: Download lede - run: | - git clone https://github.com/coolsnowwolf/lede - cp .config ./lede/.config - mv ./lede/* ./ - - name: Install Helloword - run: | - echo "src-git helloworld https://github.com/fw876/helloworld" >> ./feeds.conf.default - - name: Install OpenClash - run: | - mkdir package/luci-app-openclash - cd package/luci-app-openclash - git init - git remote add -f origin https://github.com/vernesong/OpenClash.git - git config core.sparsecheckout true - echo "luci-app-openclash" >> .git/info/sparse-checkout - git pull --depth 1 origin master - git branch --set-upstream-to=origin/master master - pushd luci-app-openclash/tools/po2lmo - make && sudo make install - popd - - name: Update feeds - run: | - ./scripts/feeds update -a - ./scripts/feeds install -a - - name: Costom configure file - run: | - make defconfig - - name: Download package source code - run: | - make download -j8 - find dl -size -1024c -exec ls -l {} \; - find dl -size -1024c -exec rm -f {} \; - - name: Compile firmware - run: | - echo -e "$(nproc) thread build." - make -j$(nproc) V=s - - name : Upload artifact - uses: actions/upload-artifact@master - with: - name: OpenWrt_firmware - path: bin/targets/ - diff --git "a/.github/\345\267\245\344\275\234\346\265\201\347\250\213/opemwrt.yml" "b/.github/\345\267\245\344\275\234\346\265\201\347\250\213/opemwrt.yml" new file mode 100644 index 00000000..30a4bc10 --- /dev/null +++ "b/.github/\345\267\245\344\275\234\346\265\201\347\250\213/opemwrt.yml" @@ -0,0 +1,36 @@ +# This is a basic workflow to help you get started with Actions + +name: CI + +# Controls when the workflow will run +on: + # Triggers the workflow on push or pull request events but only for the main branch + push: + branches: [ main ] + pull_request: + branches: [ main ] + + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +# A workflow run is made up of one or more jobs that can run sequentially or in parallel +jobs: + # This workflow contains a single job called "build" + build: + # The type of runner that the job will run on + runs-on: ubuntu-latest + + # Steps represent a sequence of tasks that will be executed as part of the job + steps: + # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it + - uses: actions/checkout@v2 + + # Runs a single command using the runners shell + - name: Run a one-line script + run: echo Hello, world! + + # Runs a set of commands using the runners shell + - name: Run a multi-line script + run: | + echo Add other actions to build, + echo test, and deploy your project.