/AutoBuild-OpenWrt

Build OpenWrt using GitHub Actions | 使用 GitHub Actions 编译 OpenWrt | 感谢P3TERX的项目源码|感谢KFERMercer的项目源码

Primary LanguageShellMIT LicenseMIT

AutoBuild-OpenWrt

LICENSE GitHub Stars GitHub Forks GitHub last commit

Build OpenWrt firware Lean's OpenWrt using GitHub Actions
Hereby thank P3TERX for his amazing job: https://github.com/P3TERX/Actions-OpenWrt/

Hereby thank KFERMercer for his amazing job: https://github.com/KFERMercer/OpenWrt-CI
You could edit and enable "Sync Code" YAML file to let your forked repo keep updated.

Usage

  1. Prerequisite
  1. Compile Firmware
  • Click [.github/workflows] folder on the top of repo and you could see few workflow files, Each for one particular architecture(device).
  • Edit the workflow file you desire,uncomment push section 3 lines together and submit the commit.(Other 2 methods wait you to discover)
  • The build starts automatically. Progress can be viewed on the Actions page.
  • When the build is complete, click the Artifacts button in the upper right corner of the Actions page to download the binaries.
  • Default Web Admin IP: 192.168.5.1, username root,password password
  1. Sync Code
  • Uncomment 'push-branches-master' 3 lines under On section and commit changes to let the script sync the code once for you.
  • Uncomment 'schedule-cron' 2 lines under On section and commit changes to let the script sync the code everyday on 3 am[UTC +8]

For the details please visit my Y2B Channel (in Chinese) | 视频教程