Compare commits
12 Commits
2024.04.04
...
2024.08.03
Author | SHA1 | Date | |
---|---|---|---|
37f1a19aa0 | |||
8d4dc505d9 | |||
e2d22d369e | |||
5cb2a0ee59 | |||
051edbae83 | |||
0d493541cb | |||
ec7b9d63ff | |||
cd22fe0fea | |||
85725e56e5 | |||
f01c217945 | |||
7056b3d65e | |||
55a62837a7 |
19
.github/workflows/Redmi-AX6000-hanwckf.yml
vendored
19
.github/workflows/Redmi-AX6000-hanwckf.yml
vendored
@ -8,21 +8,14 @@
|
||||
# Description: Build OpenWrt using GitHub Actions
|
||||
#
|
||||
###############改名字##############
|
||||
name: Redmi-AX6000-hanwckf
|
||||
name: Redmi-AX6000-hanwckf_Build
|
||||
|
||||
on:
|
||||
repository_dispatch:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
ssh:
|
||||
description: 'SSH connection to Actions'
|
||||
required: false
|
||||
default: 'false'
|
||||
on: [push]
|
||||
# schedule:
|
||||
# - cron: 0 16 * * *
|
||||
|
||||
env:
|
||||
REPO_URL: https://github.com/hanwckf/immortalwrt-mt798x
|
||||
REPO_URL: http://mc.null.red:3000/Backups/immortalwrt-mt798x
|
||||
REPO_BRANCH: openwrt-21.02
|
||||
FEEDS_CONF: feeds.conf.default
|
||||
CONFIG_FILE: hanwckf/Redmi-AX6000/.config
|
||||
@ -49,10 +42,9 @@ jobs:
|
||||
run: |
|
||||
sudo rm -rf /etc/apt/sources.list.d/* /usr/share/dotnet /usr/local/lib/android /opt/ghc
|
||||
sudo -E apt-get -qq update
|
||||
sudo -E apt-get -qq install $(curl -fsSL git.io/depends-ubuntu-2004)
|
||||
sudo -E apt-get -qq install ack antlr3 bc tar unzip asciidoc autoconf automake autopoint binutils bison build-essential bzip2 ccache cmake cpio curl device-tree-compiler fastjar flex gawk gettext gcc-multilib g++-multilib git gperf haveged help2man intltool libc6-dev-i386 libelf-dev libfuse-dev libglib2.0-dev libgmp3-dev libltdl-dev libmpc-dev libmpfr-dev libncurses5-dev libncursesw5-dev libpython3-dev libreadline-dev libssl-dev libtool lrzsz mkisofs msmtp ninja-build p7zip p7zip-full patch pkgconf python2.7 python3 python3-pyelftools python3-setuptools qemu-utils rsync scons squashfs-tools subversion swig texinfo uglifyjs upx-ucl unzip vim wget xmlto xxd zlib1g-dev
|
||||
sudo -E apt-get -qq autoremove --purge
|
||||
sudo -E apt-get -qq clean
|
||||
sudo timedatectl set-timezone "$TZ"
|
||||
sudo mkdir -p /workdir
|
||||
sudo chown $USER:$GROUPS /workdir
|
||||
|
||||
@ -103,6 +95,7 @@ jobs:
|
||||
id: compile
|
||||
run: |
|
||||
cd openwrt
|
||||
export FORCE_UNSAFE_CONFIGURE=1
|
||||
echo -e "$(nproc) thread compile"
|
||||
make -j$(nproc) || make -j1 || make -j1 V=s
|
||||
grep '^CONFIG_TARGET.*DEVICE.*=y' .config | sed -r 's/.*DEVICE_(.*)=y/\1/' > DEVICE_NAME
|
||||
@ -128,7 +121,7 @@ jobs:
|
||||
echo "status=success" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: 上传固件到github
|
||||
uses: actions/upload-artifact@main
|
||||
uses: actions/upload-artifact@v3
|
||||
if: steps.organize.outputs.status == 'success' && !cancelled()
|
||||
with:
|
||||
name: ${{ env.FILE_DATE }}-${{ env.OPENWRT_NAME }}-${{ env.DEVICE_NAME }}
|
||||
|
@ -18,8 +18,6 @@ CONFIG_PACKAGE_luci-compat=y
|
||||
## LuCI->Applications
|
||||
##【不要CPU频率设置】
|
||||
# CONFIG_PACKAGE_luci-app-cpufreq is not set
|
||||
## TTYD终端
|
||||
CONFIG_PACKAGE_luci-app-ttyd=y
|
||||
## KMS服务器
|
||||
CONFIG_PACKAGE_luci-app-vlmcsd=y
|
||||
## upnp
|
||||
@ -32,7 +30,7 @@ CONFIG_PACKAGE_luci-app-upnp=y
|
||||
#CONFIG_PACKAGE_ddns-scripts_aliyun=y
|
||||
#CONFIG_PACKAGE_ddns-scripts-cloudflare=y
|
||||
#CONFIG_PACKAGE_ddns-scripts-dnspod=y
|
||||
CONFIG_PACKAGE_luci-app-frps=y
|
||||
#CONFIG_PACKAGE_luci-app-frps=y
|
||||
## OpenClash
|
||||
CONFIG_PACKAGE_luci-app-openclash=y
|
||||
## PassWall
|
||||
@ -85,6 +83,18 @@ CONFIG_PACKAGE_iwinfo=y
|
||||
CONFIG_PACKAGE_iptables-mod-filter=y
|
||||
CONFIG_PACKAGE_iptables-mod-u32=y
|
||||
CONFIG_PACKAGE_iptables-mod-ulog=y
|
||||
CONFIG_PACKAGE_iptables-mod-conntrack-extra=y
|
||||
CONFIG_PACKAGE_iptables-mod-extra=y
|
||||
CONFIG_PACKAGE_iptables-mod-hashlimit=y
|
||||
CONFIG_PACKAGE_iptables-mod-iface=y
|
||||
CONFIG_PACKAGE_iptables-mod-ipmark=y
|
||||
CONFIG_PACKAGE_iptables-mod-ipopt=y
|
||||
CONFIG_PACKAGE_iptables-mod-iprange=y
|
||||
CONFIG_PACKAGE_iptables-mod-ipv4options=y
|
||||
CONFIG_PACKAGE_iptables-mod-nat-extra=y
|
||||
CONFIG_PACKAGE_iptables-mod-proto=y
|
||||
CONFIG_PACKAGE_iptables-mod-tee=y
|
||||
CONFIG_PACKAGE_iptables-mod-tproxy=y
|
||||
CONFIG_PACKAGE_kmod-ata-core=y
|
||||
CONFIG_PACKAGE_kmod-crypto-ccm=y
|
||||
CONFIG_PACKAGE_kmod-crypto-cmac=y
|
||||
@ -116,6 +126,7 @@ CONFIG_PACKAGE_kmod-nls-utf8=y
|
||||
CONFIG_PACKAGE_kmod-scsi-core=y
|
||||
CONFIG_PACKAGE_kmod-ipt-offload=y
|
||||
CONFIG_PACKAGE_kmod-nf-flow=y
|
||||
CONFIG_PACKAGE_kmod-wireguard=y
|
||||
|
||||
CONFIG_PACKAGE_libblkid=y
|
||||
CONFIG_PACKAGE_libevdev=y
|
||||
|
Reference in New Issue
Block a user