English | 中文
A template for building OpenWrt with GitHub Actions
- Click the Use this template button to create a new repository.
- Generate
.configfiles using Lean's OpenWrt source code. ( You can change it through environment variables in the workflow file. ) - Push
.configfile to the GitHub repository. - Select
Build OpenWrton the Actions page. - Click the
Run workflowbutton. - When the build is complete, click the
Artifactsbutton in the upper right corner of the Actions page to download the binaries.
本仓库支持同时编译多个 ImmortalWrt 项目,每个项目可单独配置源码、feeds 和 .config:
| 项目 | 源码仓库 | 配置与 feeds 位置 |
|---|---|---|
| padavanonly-mt798x-6.6 | padavanonly/immortalwrt-mt798x-6.6 | projects/padavanonly-mt798x-6.6/ |
| hanwckf-mt798x | hanwckf/immortalwrt-mt798x | projects/hanwckf-mt798x/ |
| immortalwrt | immortalwrt/immortalwrt | projects/immortalwrt/ |
- 在
.github/workflows/openwrt-builder.yml的matrix.include中可注释掉暂不使用的项目。 - 新增项目:在
matrix.include增加一项,并在projects/<名称>/下放置feeds.conf.default和.config。
- It may take a long time to create a
.configfile and build the OpenWrt firmware. Thus, before create repository to build your own firmware, you may check out if others have already built it which meet your needs by simply searchActions-Openwrtin GitHub. - Add some meta info of your built firmware (such as firmware architecture and installed packages) to your repository introduction, this will save others' time.