forked from openwrt/openwrt
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
65 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
name: Build IPQ807x NSS | ||
|
||
on: workflow_dispatch | ||
|
||
jobs: | ||
build: | ||
name: Prepare and build IPQ807x NSS generic images | ||
runs-on: self-hosted | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Update and install feeds | ||
run: | | ||
./scripts/feeds update -a | ||
./scripts/feeds install -a | ||
- name: Import full config for IPQ807x NSS Generic | ||
run: | | ||
mv .full_config .config | ||
- name: QoL fixes on default config | ||
run: | | ||
mkdir -p files/etc/uci-defaults | ||
cat > files/etc/uci-defaults/xxx_config << EOF | ||
uci set wireless.radio0.country='US' | ||
uci set wireless.radio1.country='US' | ||
uci set wireless.radio2.country='US' | ||
uci set wireless.radio1.disabled=0 | ||
uci set wireless.radio2.disabled=0 | ||
uci commit | ||
EOF | ||
- name: Download package sources | ||
run: make download V=s | ||
|
||
- name: Build tools | ||
run: | | ||
make tools/install -j$(nproc) V=s || \ | ||
make tools/install V=s | ||
- name: Build toolchain | ||
run: | | ||
make toolchain/install -j$(nproc) V=s || \ | ||
make toolchain/install V=s | ||
- name: Build target images | ||
run: | | ||
make -j$(nproc) V=s || \ | ||
make V=s | ||
- name: Get the current date | ||
run: echo "NOW=$(date +%F-%H%M)" >> $GITHUB_ENV | ||
|
||
- name: Create a release | ||
uses: "ncipollo/release-action@v1" | ||
with: | ||
name: "Updated prebuilt images ${{ env.NOW }}" | ||
commit: "main" | ||
tag: "ipq807x-${{ env.NOW }}" | ||
generateReleaseNotes: true | ||
makeLatest: true | ||
artifacts: bin/targets/qualcommax/ipq807x/* | ||
token: "${{ secrets.GITHUB_TOKEN }}" |