1 From 4aec59014afc64d912502d70194a8823b0a6150a Mon Sep 17 00:00:00 2001
2 From: Dave Stevenson <dave.stevenson@raspberrypi.com>
3 Date: Tue, 6 Dec 2022 18:11:58 +0000
4 Subject: [PATCH] .github/workflows: Add dtoverlaycheck workflow
6 Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
8 .github/workflows/dtoverlaycheck.yml | 48 ++++++++++++++++++++++++++++
9 1 file changed, 48 insertions(+)
10 create mode 100644 .github/workflows/dtoverlaycheck.yml
13 +++ b/.github/workflows/dtoverlaycheck.yml
15 +name: Pi dtoverlay checks
21 + branches: [ "rpi-*" ]
25 + branches: [ "rpi-*" ]
29 + UTILS_DIR: "${{github.workspace}}/utils"
33 + runs-on: ubuntu-latest
36 + - name: Install toolchain
39 + sudo apt-get install gcc-arm-linux-gnueabihf libfdt-dev device-tree-compiler
42 + - uses: actions/checkout@v3
47 + - name: overlaycheck
49 + git clone https://github.com/raspberrypi/utils ${{env.UTILS_DIR}}
50 + cd ${{env.UTILS_DIR}}
58 + cd ${{github.workspace}}
60 + make ARCH=arm KERNEL=kernel CROSS_COMPILE=arm-linux-gnueabihf- bcm2711_defconfig
61 + make ARCH=arm KERNEL=kernel CROSS_COMPILE=arm-linux-gnueabihf- dtbs
62 + ${{env.UTILS_DIR}}/overlaycheck/overlaycheck