From 66f4ef8accd9636b562f3bbdfa41c2b74c3da1b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Owoc?= Date: Sat, 10 Feb 2024 13:31:28 +0100 Subject: [PATCH] Add workflow --- .github/workflows/build_qualcommax.yml | 55 ++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 .github/workflows/build_qualcommax.yml diff --git a/.github/workflows/build_qualcommax.yml b/.github/workflows/build_qualcommax.yml new file mode 100644 index 00000000000000..7361dcd9c756e2 --- /dev/null +++ b/.github/workflows/build_qualcommax.yml @@ -0,0 +1,55 @@ +name: Build Qualcomm AX + +on: workflow_dispatch + +jobs: + build: + name: Build Qualcomm AX firmware images + runs-on: ubuntu-latest + permissions: + contents: write + steps: + - name: Install packages + run: | + sudo apt-get update && \ + sudo apt-get install -y \ + build-essential \ + clang \ + flex \ + bison \ + g++ \ + gawk \ + gcc-multilib \ + g++-multilib \ + gettext \ + git \ + libncurses-dev \ + libssl-dev \ + python3-distutils \ + rsync \ + unzip \ + zlib1g-dev \ + file \ + wget && \ + sudo apt-get clean + + - name: Checkout + uses: actions/checkout@v4 + + - name: Import config + run: mv .config_qualcommax .config + + - name: Update feeds + run: make package/symlinks + + - name: Build firmware images + run: make -j$(nproc) + + - name: Get SHA + uses: benjlevesque/short-sha@v2.2 + + - name: Release + uses: ncipollo/release-action@v1 + with: + tag: qualcommax-${{ env.SHA }} + artifacts: bin/targets/qualcommax/ipq807x/openwrt-qualcommax-ipq807x-*