openwrt: import upgrade-script from community-packages #95
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: Test Build | |
on: [ push, pull_request] | |
jobs: | |
build: | |
name: ${{ matrix.arch }} ${{ matrix.version }} | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
arch: | |
- mips_24kc | |
- mipsel_24kc | |
- powerpc_8548 | |
- x86_64 | |
version: | |
- "23.05.2" | |
- "main" | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/checkout@v4 | |
with: | |
repository: freifunk-gluon/gluon | |
path: gluon | |
ref: 2689bcddc34f7e17b98844d87f5d96cc3414d50b | |
- name: Move gluon packages | |
run: mv gluon/package . | |
- name: Remove Gluon | |
run: rm -rf gluon | |
- name: Build | |
uses: openwrt/gh-action-sdk@v7 | |
env: | |
ARCH: ${{ matrix.arch }}-${{ matrix.version }} | |
FEEDNAME: packages_ci | |
PACKAGES: "node-whisperer" | |
KEY_BUILD: "RWRCSwAAAADDDX5uZK8x5UDT1RoVpOmbik/2kEoWm9q08QB6E0im50hNLwPpOfKCFURVvNR0iDGePQm5pnrZKX3OYyfsbv9G6eGsrlozbXFnGJXI3Szjb/Th7Uhd7mLSIh0wLyjIYEI=" | |
V: s | |
- name: Store packages | |
uses: actions/upload-artifact@v4 | |
with: | |
name: ${{ matrix.arch }}-${{ matrix.version }}-packages | |
path: bin/packages/${{ matrix.arch }}/packages_ci/*.ipk |