Compare commits
14 Commits
2024.04.27
...
main
Author | SHA1 | Date | |
---|---|---|---|
3fb9ee7cf5 | |||
2d49f33023 | |||
af6e8cd67e | |||
37f1a19aa0 | |||
8d4dc505d9 | |||
e2d22d369e | |||
5cb2a0ee59 | |||
051edbae83 | |||
0d493541cb | |||
ec7b9d63ff | |||
cd22fe0fea | |||
85725e56e5 | |||
f01c217945 | |||
7056b3d65e |
17
.github/workflows/Redmi-AX6000-hanwckf.yml
vendored
17
.github/workflows/Redmi-AX6000-hanwckf.yml
vendored
@ -8,16 +8,9 @@
|
||||
# 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 * * *
|
||||
|
||||
@ -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 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 }}
|
||||
|
@ -126,6 +126,12 @@ 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_kmod-sched-core=y
|
||||
CONFIG_PACKAGE_kmod-sched-cake=y
|
||||
CONFIG_PACKAGE_kmod-ifb=y
|
||||
CONFIG_PACKAGE_kmod-nft-tproxy=y
|
||||
CONFIG_PACKAGE_kmod-tcp-bbr=y
|
||||
|
||||
CONFIG_PACKAGE_libblkid=y
|
||||
CONFIG_PACKAGE_libevdev=y
|
||||
|
Reference in New Issue
Block a user