Skip to content

delete Radxa zero2 w1 support #147

delete Radxa zero2 w1 support

delete Radxa zero2 w1 support #147

Workflow file for this run

name: build
on:
workflow_dispatch:
push:
paths:
- '**.dts'
- '**Makefile'
pull_request:
paths:
- '**.dts'
- '**Makefile'
defaults:
run:
shell: bash
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
version: [5.10.110-9-rockchip, 4.19.193-4-rk356x, ubuntu-latest]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install dependencies
run: |
sudo apt update
sudo apt install -y --no-install-recommends device-tree-compiler
sudo dpkg --add-architecture arm64
case "${{ matrix.version }}" in
5.10.110-9-rockchip)
wget https://github.com/radxa-pkg/linux-rockchip/releases/download/5.10.110-9/linux-headers-5.10.110-9-rockchip_5.10.110-9-dc49558b4_arm64.deb
sudo apt install ./linux-headers-5.10.110-9-rockchip_5.10.110-9-dc49558b4_arm64.deb
;;
4.19.193-4-rk356x)
wget https://github.com/radxa-pkg/linux-rk356x/releases/download/4.19.193-4/linux-headers-4.19.193-4-rk356x_4.19.193-4-24c58c676_arm64.deb
sudo apt install ./linux-headers-4.19.193-4-rk356x_4.19.193-4-24c58c676_arm64.deb
;;
esac
- name: Build
run: |
case "${{ matrix.version }}" in
ubuntu-latest)
make -j$(nproc)
;;
5.10.110-9-rockchip)
make -j$(nproc) KERNEL_HEADER_VERSION=${{ matrix.version }} CONFIG_ARCH_MESON=n CONFIG_CPU_RK3399=rockchip CONFIG_CPU_RK3568=rockchip CONFIG_CPU_RK3588=rockchip
;;
4.19.193-4-rk356x)
make -j$(nproc) KERNEL_HEADER_VERSION=${{ matrix.version }} CONFIG_ARCH_MESON=n CONFIG_CPU_RK3568=rockchip
;;
esac
- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
name: ${{ matrix.version }}
path: |
arch/**/*.dtbo