Code Monkey home page Code Monkey logo

github-action-build-openwrt-series's Introduction

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压缩包。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.