nss build with kmod #19
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: nss build with kmod | |
on: workflow_dispatch | |
jobs: | |
build: | |
name: nss build with kmod | |
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-setuptools \ | |
rsync \ | |
unzip \ | |
zlib1g-dev \ | |
file \ | |
wget && \ | |
sudo apt-get clean | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Update feed | |
run: scripts/feeds update -a && scripts/feeds install -a | |
- name: Generate config with extra kmod | |
run: sh genconfig_nss.sh full | |
- name: Build firmware images | |
run: make -j$(($(nproc)+1)) world | |
- name: Prepare release | |
run: sh release_nss.sh | |
- name: Get SHA | |
uses: benjlevesque/[email protected] | |
- name: Release | |
uses: ncipollo/release-action@v1 | |
with: | |
tag: qualcommax-nss-${{ env.SHA }} | |
artifacts: release/* | |
bodyFile: note.md |