forked from openwrt/openwrt
-
Notifications
You must be signed in to change notification settings - Fork 17
60 lines (51 loc) · 1.73 KB
/
build_mx4300_nss.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
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 \
jq \
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 ${{ env.ver }}
- name: Get SHA
uses: benjlevesque/[email protected]
- name: Release
uses: ncipollo/release-action@v1
with:
tag: qualcommax-nss-${{ env.ver }}-${{ env.SHA }}
artifacts: release/*
bodyFile: note.md