feat: add usb-peripheral for Radxa VMARC Q9075 IO #588
Workflow file for this run
This file contains hidden or 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 overlays | |
| on: | |
| workflow_dispatch: | |
| merge_group: | |
| pull_request: | |
| push: | |
| permissions: {} | |
| jobs: | |
| build-dtbo: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| version: | |
| - linux-stable | |
| - linux-rk2312 | |
| - linux-rk2410 | |
| - linux-rk2410-nocsf | |
| - linux-aw2501 | |
| - linux-a733 | |
| - linux-qcom | |
| - linux-qc2509 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v7 | |
| - name: Check if there is missing files | |
| shell: bash | |
| run: | | |
| MISSING=0 | |
| for VENDOR in amlogic rockchip allwinner qcom | |
| do | |
| OVERLAY_PATH="arch/arm64/boot/dts/$VENDOR/overlays" | |
| for i in "$OVERLAY_PATH"/*.dts{,o} | |
| do | |
| OVERLAY_NAME="$(basename "$i")" | |
| OVERLAY_NAME="${OVERLAY_NAME/.dts*}.dtbo" | |
| if ! grep "$OVERLAY_NAME" "${OVERLAY_PATH}/Makefile"* >/dev/null 2>/dev/null | |
| then | |
| echo "$OVERLAY_NAME is not included in $VENDOR Makefile!" | |
| MISSING=1 | |
| fi | |
| done | |
| done | |
| exit $MISSING | |
| - name: Install dependencies | |
| shell: bash | |
| run: | | |
| sudo apt update | |
| sudo apt install -y --no-install-recommends device-tree-compiler | |
| sudo dpkg --add-architecture arm64 | |
| case "${{ matrix.version }}" in | |
| linux-stable) | |
| exit 0 | |
| ;; | |
| linux-rk2312) | |
| KERNEL_HEADERS_URL=https://github.com/radxa-pkg/linux-rk2312/releases/download/6.1.43-26/linux-headers-6.1.43-26-rk2312_6.1.43-26_arm64.deb | |
| ;; | |
| linux-rk2410) | |
| KERNEL_HEADERS_URL=https://github.com/radxa-pkg/linux-rk2410/releases/download/6.1.84-8/linux-headers-6.1.84-8-rk2410_6.1.84-8_arm64.deb | |
| ;; | |
| linux-rk2410-nocsf) | |
| KERNEL_HEADERS_URL=https://github.com/radxa-pkg/linux-rk2410-nocsf/releases/download/6.1.84-18/linux-headers-6.1.84-18-rk2410-nocsf_6.1.84-18_arm64.deb | |
| ;; | |
| linux-aw2501) | |
| KERNEL_HEADERS_URL=https://github.com/radxa-pkg/linux-aw2501/releases/download/5.15.147-20/linux-headers-5.15.147-20-aw2501_5.15.147-20_arm64.deb | |
| ;; | |
| linux-a733) | |
| KERNEL_HEADERS_URL=https://github.com/radxa-pkg/linux-a733/releases/download/5.15.147-21/linux-headers-5.15.147-21-a733_5.15.147-21_arm64.deb | |
| ;; | |
| linux-qcom) | |
| KERNEL_HEADERS_URL=https://github.com/radxa-pkg/linux-qcom/releases/download/7.0.11-3/linux-headers-7.0.11-3-qcom_7.0.11-3_arm64.deb | |
| ;; | |
| linux-qc2509) | |
| KERNEL_HEADERS_URL=https://github.com/radxa-pkg/linux-qc2509/releases/download/6.8.12-5/linux-headers-6.8.12-5-qc2509_6.8.12-5_arm64.deb | |
| ;; | |
| esac | |
| wget "$KERNEL_HEADERS_URL" | |
| sudo apt install ./linux-headers-*.deb | |
| - name: Build | |
| shell: bash | |
| run: | | |
| case "${{ matrix.version }}" in | |
| linux-stable) | |
| make build-dtbo -j$(nproc) | |
| ;; | |
| linux-rk2312) | |
| make build-dtbo -j$(nproc) KERNELRELEASE=6.1.43-26-rk2312 CONFIG_ARCH_MESON=n CONFIG_CPU_RK3528=rockchip CONFIG_CPU_RK3588=rockchip CONFIG_ARCH_SUNXI=n CONFIG_ARCH_QCOM=n | |
| ;; | |
| linux-rk2410) | |
| make build-dtbo -j$(nproc) KERNELRELEASE=6.1.84-8-rk2410 CONFIG_ARCH_MESON=n CONFIG_CPU_RK3588=rockchip CONFIG_ARCH_SUNXI=n CONFIG_ARCH_QCOM=n | |
| ;; | |
| linux-rk2410-nocsf) | |
| make build-dtbo -j$(nproc) KERNELRELEASE=6.1.84-18-rk2410-nocsf CONFIG_ARCH_MESON=n CONFIG_CPU_RK3568=rockchip CONFIG_CPU_RK3576=rockchip CONFIG_ARCH_SUNXI=n CONFIG_ARCH_QCOM=n | |
| ;; | |
| linux-aw2501) | |
| make build-dtbo -j$(nproc) KERNELRELEASE=5.15.147-20-aw2501 CONFIG_ARCH_SUNXI=allwinner CONFIG_ARCH_SUN55IW3=allwinner CONFIG_ARCH_QCOM=n | |
| ;; | |
| linux-a733) | |
| make build-dtbo -j$(nproc) KERNELRELEASE=5.15.147-21-a733 CONFIG_ARCH_SUNXI=allwinner CONFIG_ARCH_SUN60IW2=allwinner CONFIG_ARCH_QCOM=n | |
| ;; | |
| linux-qcom) | |
| make build-dtbo -j$(nproc) KERNELRELEASE=7.0.11-3-qcom | |
| ;; | |
| linux-qc2509) | |
| make build-dtbo -j$(nproc) KERNELRELEASE=6.8.12-5-qc2509 | |
| ;; | |
| esac | |
| - name: Upload artifacts | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: ${{ matrix.version }} | |
| path: | | |
| arch/**/*.dtbo |