This is a tool related to compiling OpenWRT using Github Action, you can compile the latest OpenWRT or LEDE, or compile a single package.
Compile a single package
- Give a Star to show support
- Fork the current warehouse
- Add the config of your device in the device folder, which contains
x86_64
andNewifi3 D2
configurations by default - Modify .github/workflows/build-openwrt-package.yml
- Change
SDK_URL
to the SDK download address of your OpenWRT version, you can find your OpenWRT version SDK in https://downloads.openwrt.org/releases/. Such ashttps://downloads.openwrt.org/releases/22.03.2/targets/x86/64/openwrt-sdk-22.03.2-x86-64_gcc-11.2.0_musl.Linux-x86_64.tar.xz
CONFIG_FILE
is changed to your device's configuration file. Such asdevice/x86-64.config
PACKAGE_REPO
is changed to your package warehouse address. Such ashttps://github.com/yichya/luci-app-xray.git
PACKAGE_NAME
is changed to your package name, which can be customized. Such asluci-app-xray
PACKAGE_BRANCH
is changed to the branch of your package. such asmaster
- Change
- Select the Action on the warehouse page, select your workflows, such as
Build OpenWRT Package
, selectRun workflow
, clickRun workflow
to run the compilation. - After the compilation is successful, you can download the bin compressed package on the Workflow page of the Action.