mirror of
				https://github.com/Ysurac/openmptcprouter.git
				synced 2025-03-09 15:40:20 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			68 lines
		
	
	
	
		
			1.8 KiB
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			68 lines
		
	
	
	
		
			1.8 KiB
		
	
	
	
		
			Diff
		
	
	
	
	
	
| From a2f0dc032e7330df7824a2536c84f19777f3b1ec Mon Sep 17 00:00:00 2001
 | |
| From: Dave Stevenson <dave.stevenson@raspberrypi.com>
 | |
| Date: Tue, 6 Dec 2022 18:11:58 +0000
 | |
| Subject: [PATCH 523/726] .github/workflows: Add dtoverlaycheck workflow
 | |
| 
 | |
| Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
 | |
| ---
 | |
|  .github/workflows/dtoverlaycheck.yml | 48 ++++++++++++++++++++++++++++
 | |
|  1 file changed, 48 insertions(+)
 | |
|  create mode 100644 .github/workflows/dtoverlaycheck.yml
 | |
| 
 | |
| diff --git a/.github/workflows/dtoverlaycheck.yml b/.github/workflows/dtoverlaycheck.yml
 | |
| new file mode 100644
 | |
| index 000000000000..2e6d4f2a0b6d
 | |
| --- /dev/null
 | |
| +++ b/.github/workflows/dtoverlaycheck.yml
 | |
| @@ -0,0 +1,48 @@
 | |
| +name: Pi dtoverlay checks
 | |
| +
 | |
| +on:
 | |
| +  pull_request:
 | |
| +    paths-ignore:
 | |
| +      - '.github/**'
 | |
| +    branches: [ "rpi-*" ]
 | |
| +  push:
 | |
| +    paths-ignore:
 | |
| +      - '.github/**'
 | |
| +    branches: [ "rpi-*" ]
 | |
| +  workflow_dispatch:
 | |
| +
 | |
| +env:
 | |
| +  UTILS_DIR: "${{github.workspace}}/utils"
 | |
| +
 | |
| +jobs:
 | |
| +  dtoverlaycheck:
 | |
| +    runs-on: ubuntu-latest
 | |
| +
 | |
| +    steps:
 | |
| +    - name: Install toolchain
 | |
| +      run: |
 | |
| +        sudo apt update
 | |
| +        sudo apt-get install gcc-arm-linux-gnueabihf libfdt-dev device-tree-compiler
 | |
| +      timeout-minutes: 10
 | |
| +
 | |
| +    - uses: actions/checkout@v3
 | |
| +      with:
 | |
| +        fetch-depth: 1
 | |
| +        clean: true
 | |
| +
 | |
| +    - name: overlaycheck
 | |
| +      run: |
 | |
| +        git clone https://github.com/raspberrypi/utils ${{env.UTILS_DIR}}
 | |
| +        cd ${{env.UTILS_DIR}}
 | |
| +        pwd
 | |
| +        mkdir build
 | |
| +        cd build
 | |
| +        pwd
 | |
| +        cmake ..
 | |
| +        make -j4
 | |
| +        sudo make install
 | |
| +        cd ${{github.workspace}}
 | |
| +        pwd
 | |
| +        make ARCH=arm KERNEL=kernel CROSS_COMPILE=arm-linux-gnueabihf- bcm2711_defconfig
 | |
| +        make ARCH=arm KERNEL=kernel CROSS_COMPILE=arm-linux-gnueabihf- dtbs
 | |
| +        ${{env.UTILS_DIR}}/overlaycheck/overlaycheck
 | |
| -- 
 | |
| 2.33.1
 | |
| 
 |