Skip to content

Commit

Permalink
Add workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
testuser7 committed Feb 21, 2024
1 parent b6833f5 commit 66f4ef8
Showing 1 changed file with 55 additions and 0 deletions.
55 changes: 55 additions & 0 deletions .github/workflows/build_qualcommax.yml
Original file line number Diff line number Diff line change
@@ -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/[email protected]

- name: Release
uses: ncipollo/release-action@v1
with:
tag: qualcommax-${{ env.SHA }}
artifacts: bin/targets/qualcommax/ipq807x/openwrt-qualcommax-ipq807x-*

0 comments on commit 66f4ef8

Please sign in to comment.