English
Build OpenWrt with GitHub Actions. The original code is from P3TERX. This code is for compiling OpenWrt and for my personal usage. :warning:The sample configuration file included in this code is only for gateway service (bypass router mode) and has only one LAN port.
OpenWrt Compilation Step-by-Step Command Explanation Tutorial
- Fork this 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.
- 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.