Build IPQ807x NSS #11
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: 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 | |
mv backports-6.1.31.tar.xz dl/backports-6.1.31.tar.xz | |
- 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 }}" |