Skip to content

这是一个使用Github Action编译OpenWRT相关的工具,你可以编译最新的OpenWRT或LEDE、或者编译单个包。

Notifications You must be signed in to change notification settings

Ling128/github-action-build-openwrt-series

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

Github Action Build OpenWRT Series

这是什么

这是一个使用Github Action编译OpenWRT相关的工具,你可以编译最新的OpenWRT或LEDE、或者编译单个包。

如何使用

编译单个包

  1. 给个Star以表支持
  2. Fork当前仓库
  3. 在device文件夹中增加你设备的config,文件夹中默认包含x86_64Newifi3 D2配置
  4. 修改.github/workflows/build-openwrt-package.yml
    • SDK_URL修改为你的OpenWRT版本的SDK下载地址,可以在 https://downloads.openwrt.org/releases/ 中找到你的OpenWRT版本的SDK。如https://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修改为你的设备的配置文件。如device/x86-64.config
    • PACKAGE_REPO修改为你的包仓库地址。如https://github.com/yichya/luci-app-xray.git
    • PACKAGE_NAME修改为你的包名,可自定义。如luci-app-xray
    • PACKAGE_BRANCH修改为你的包的分支。如master
  5. 选择仓库页面的Action,选择你的workflows,如Build OpenWRT Package,选择Run workflow,点击Run workflow即可运行编译。
  6. 编译成功后,在Action的Workflow页面可以下载bin压缩包。

About

这是一个使用Github Action编译OpenWRT相关的工具,你可以编译最新的OpenWRT或LEDE、或者编译单个包。

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published