From a862579bdba29834cc02af6403959cc39cfc6fdd Mon Sep 17 00:00:00 2001
From: Philipp Rosenberger
Date: Mon, 11 Sep 2023 12:08:56 +0200
Subject: [PATCH] .github: Remove pipelines inherited from upstream
---
.github/ISSUE_TEMPLATE/bug_report.yml | 91 -----------------------
.github/ISSUE_TEMPLATE/config.yml | 9 ---
.github/workflows/checkpatch.yml | 18 -----
.github/workflows/ci_checkpatch.conf | 4 -
.github/workflows/dtoverlaycheck.yml | 48 ------------
.github/workflows/kernel-build.yml | 103 --------------------------
.github/workflows/kunit.yml | 57 --------------
7 files changed, 330 deletions(-)
delete mode 100644 .github/ISSUE_TEMPLATE/bug_report.yml
delete mode 100644 .github/ISSUE_TEMPLATE/config.yml
delete mode 100644 .github/workflows/checkpatch.yml
delete mode 100644 .github/workflows/ci_checkpatch.conf
delete mode 100644 .github/workflows/dtoverlaycheck.yml
delete mode 100644 .github/workflows/kernel-build.yml
delete mode 100644 .github/workflows/kunit.yml
diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml
deleted file mode 100644
index e8a3c983bec66e..00000000000000
--- a/.github/ISSUE_TEMPLATE/bug_report.yml
+++ /dev/null
@@ -1,91 +0,0 @@
-name: "Bug report"
-description: Create a report to help us fix your issue
-body:
-- type: markdown
- attributes:
- value: |
- **Is this the right place for my bug report?**
- This repository contains the Linux kernel used on the Raspberry Pi.
- If you believe that the issue you are seeing is kernel-related, this is the right place.
- If not, we have other repositories for the GPU firmware at [github.com/raspberrypi/firmware](https://github.com/raspberrypi/firmware) and Raspberry Pi userland applications at [github.com/raspberrypi/userland](https://github.com/raspberrypi/userland).
-
- If you have problems with the Raspbian distribution packages, report them in the [github.com/RPi-Distro/repo](https://github.com/RPi-Distro/repo).
- If you simply have a question, then [the Raspberry Pi forums](https://www.raspberrypi.org/forums) are the best place to ask it.
-
-- type: textarea
- id: description
- attributes:
- label: Describe the bug
- description: |
- Add a clear and concise description of what you think the bug is.
- validations:
- required: true
-
-- type: textarea
- id: reproduce
- attributes:
- label: Steps to reproduce the behaviour
- description: |
- List the steps required to reproduce the issue.
- validations:
- required: true
-
-- type: dropdown
- id: model
- attributes:
- label: Device (s)
- description: On which device you are facing the bug?
- multiple: true
- options:
- - Raspberry Pi Zero
- - Raspberry Pi Zero W / WH
- - Raspberry Pi Zero 2 W
- - Raspberry Pi 1 Mod. A
- - Raspberry Pi 1 Mod. A+
- - Raspberry Pi 1 Mod. B
- - Raspberry Pi 1 Mod. B+
- - Raspberry Pi 2 Mod. B
- - Raspberry Pi 2 Mod. B v1.2
- - Raspberry Pi 3 Mod. A+
- - Raspberry Pi 3 Mod. B
- - Raspberry Pi 3 Mod. B+
- - Raspberry Pi 4 Mod. B
- - Raspberry Pi 400
- - Raspberry Pi CM1
- - Raspberry Pi CM3
- - Raspberry Pi CM3 Lite
- - Raspberry Pi CM3+
- - Raspberry Pi CM3+ Lite
- - Raspberry Pi CM4
- - Raspberry Pi CM4 Lite
- - Other
- validations:
- required: true
-
-- type: textarea
- id: system
- attributes:
- label: System
- description: |
- Copy and paste the results of the raspinfo command in to this section.
- Alternatively, copy and paste a pastebin link, or add answers to the following questions:
- * Which OS and version (`cat /etc/rpi-issue`)?
- * Which firmware version (`vcgencmd version`)?
- * Which kernel version (`uname -a`)?
- validations:
- required: true
-
-- type: textarea
- id: logs
- attributes:
- label: Logs
- description: |
- If applicable, add the relevant output from `dmesg` or similar.
-
-- type: textarea
- id: additional
- attributes:
- label: Additional context
- description: |
- Add any other relevant context for the problem.
-
diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml
deleted file mode 100644
index 338282d8eb4620..00000000000000
--- a/.github/ISSUE_TEMPLATE/config.yml
+++ /dev/null
@@ -1,9 +0,0 @@
-blank_issues_enabled: false
-contact_links:
- - name: "â›” Question"
- url: https://www.raspberrypi.org/forums
- about: "Please do not use GitHub for asking questions. If you simply have a question, then the Raspberry Pi forums are the best place to ask it. Thanks in advance for helping us keep the issue tracker clean!"
- - name: "â›” Problems with the Raspbian distribution packages"
- url: https://github.com/RPi-Distro/repo
- about: "If you have problems with the Raspbian distribution packages, please report them in the github.com/RPi-Distro/repo."
-
diff --git a/.github/workflows/checkpatch.yml b/.github/workflows/checkpatch.yml
deleted file mode 100644
index 4a01aee5fd2a2c..00000000000000
--- a/.github/workflows/checkpatch.yml
+++ /dev/null
@@ -1,18 +0,0 @@
-name: Advisory checkpatch review
-on: [pull_request]
-
-jobs:
- review:
- name: checkpatch review
- runs-on: ubuntu-latest
- steps:
- - name: 'Calculate PR commits + 1'
- run: echo "PR_FETCH_DEPTH=$(( ${{ github.event.pull_request.commits }} + 1 ))" >> $GITHUB_ENV
- - uses: actions/checkout@v3
- with:
- ref: ${{ github.event.pull_request.head.sha }}
- fetch-depth: ${{ env.PR_FETCH_DEPTH }}
- - name: Copy checkpatch.conf
- run: cp ${{github.workspace}}/.github/workflows/ci_checkpatch.conf ${{github.workspace}}/.checkpatch.conf
- - name: Run checkpatch review
- uses: webispy/checkpatch-action@v9
diff --git a/.github/workflows/ci_checkpatch.conf b/.github/workflows/ci_checkpatch.conf
deleted file mode 100644
index 5d79c37b1d8c40..00000000000000
--- a/.github/workflows/ci_checkpatch.conf
+++ /dev/null
@@ -1,4 +0,0 @@
---no-tree
---ignore FILE_PATH_CHANGES
---ignore GIT_COMMIT_ID
---ignore SPDX_LICENSE_TAG
diff --git a/.github/workflows/dtoverlaycheck.yml b/.github/workflows/dtoverlaycheck.yml
deleted file mode 100644
index 2e6d4f2a0b6d5f..00000000000000
--- a/.github/workflows/dtoverlaycheck.yml
+++ /dev/null
@@ -1,48 +0,0 @@
-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
diff --git a/.github/workflows/kernel-build.yml b/.github/workflows/kernel-build.yml
deleted file mode 100644
index 87eb13939be6a4..00000000000000
--- a/.github/workflows/kernel-build.yml
+++ /dev/null
@@ -1,103 +0,0 @@
-name: Pi kernel build tests
-
-on:
- pull_request:
- paths-ignore:
- - '.github/**'
- branches: [ "rpi-*" ]
- push:
- paths-ignore:
- - '.github/**'
- branches: [ "rpi-*" ]
- workflow_dispatch:
-
-env:
- NUM_JOBS: 3
-
-jobs:
- build:
- runs-on: ubuntu-latest
- strategy:
- matrix:
- include:
- - name: bcm2835
- arch: arm
- defconfig: bcm2835_defconfig
- kernel: kernel
-
- - name: arm64
- arch: arm64
- defconfig: defconfig
- kernel: kernel8
-
- - name: bcmrpi
- arch: arm
- defconfig: bcmrpi_defconfig
- kernel: kernel
-
- - name: bcm2709
- arch: arm
- defconfig: bcm2709_defconfig
- kernel: kernel7
-
- - name: bcm2711
- arch: arm
- defconfig: bcm2711_defconfig
- kernel: kernel7l
-
- - name: bcm2711_arm64
- arch: arm64
- defconfig: bcm2711_defconfig
- kernel: kernel8
-
- steps:
- - name: Update install
- run:
- sudo apt-get update
-
- - name: Install toolchain
- run:
- if [[ "${{matrix.arch}}" == "arm64" ]]; then
- sudo apt-get install gcc-aarch64-linux-gnu;
- else
- sudo apt-get install gcc-arm-linux-gnueabihf;
- fi
- timeout-minutes: 5
-
- - uses: actions/checkout@v3
- with:
- fetch-depth: 1
- clean: true
-
- - name: Build kernel ${{matrix.name}}
- run: |
- mkdir ${{github.workspace}}/build
- export ARCH=${{matrix.arch}}
- if [[ "$ARCH" == "arm64" ]]; then
- export CROSS_COMPILE=aarch64-linux-gnu-
- export DTS_SUBDIR=broadcom
- export IMAGE=Image.gz
- else
- export CROSS_COMPILE=arm-linux-gnueabihf-
- export DTS_SUBDIR=
- export IMAGE=zImage
- fi
- make O=${{github.workspace}}/build ${{matrix.defconfig}}
- scripts/config --file ${{github.workspace}}/build/.config --set-val CONFIG_WERROR y
- make O=${{github.workspace}}/build -j ${{env.NUM_JOBS}} $IMAGE modules dtbs
- mkdir -p ${{github.workspace}}/install/boot/overlays
- make O=${{github.workspace}}/build INSTALL_MOD_PATH=${{github.workspace}}/install modules_install
- cp ${{github.workspace}}/build/arch/${ARCH}/boot/dts/${DTS_SUBDIR}/*.dtb ${{github.workspace}}/install/boot/
- cp ${{github.workspace}}/build/arch/${ARCH}/boot/dts/overlays/*.dtb* ${{github.workspace}}/install/boot/overlays/
- cp ${{github.workspace}}/arch/${ARCH}/boot/dts/overlays/README ${{github.workspace}}/install/boot/overlays/
- cp ${{github.workspace}}/build/arch/${ARCH}/boot/$IMAGE ${{github.workspace}}/install/boot/${{matrix.kernel}}.img
-
- - name: Tar build
- run: tar -cvf ${{matrix.name}}_build.tar -C ${{github.workspace}}/install .
-
- - name: Upload results
- uses: actions/upload-artifact@v3
- with:
- name: ${{matrix.name}}_build
- path: ${{matrix.name}}_build.tar
- retention-days: 90
diff --git a/.github/workflows/kunit.yml b/.github/workflows/kunit.yml
deleted file mode 100644
index ee51bbc912e78e..00000000000000
--- a/.github/workflows/kunit.yml
+++ /dev/null
@@ -1,57 +0,0 @@
-name: KUnit Tests
-
-on:
- pull_request:
- branches: [ "rpi-*"]
-
- push:
- branches: [ "rpi-*"]
-
-jobs:
- core:
- name: Generic DRM/KMS Unit Tests
- runs-on: ubuntu-latest
-
- steps:
- - uses: actions/checkout@v3
-
- - name: Run Generic DRM Tests
- run: |
- ./tools/testing/kunit/kunit.py run \
- --kunitconfig=drivers/gpu/drm/tests
-
- vc4-arm:
- name: VC4 Unit Tests on ARM
- runs-on: ubuntu-latest
-
- steps:
- - uses: actions/checkout@v3
-
- - name: Install Dependencies
- run: |
- sudo apt-get update
- sudo apt-get install -y gcc-arm-linux-gnueabihf qemu-system-arm
-
- - name: Run VC4 Tests
- run: |
- ./tools/testing/kunit/kunit.py run \
- --kunitconfig=drivers/gpu/drm/vc4/tests \
- --cross_compile=arm-linux-gnueabihf- --arch=arm
-
- vc4-arm64:
- name: VC4 Unit Tests on ARM64
- runs-on: ubuntu-latest
-
- steps:
- - uses: actions/checkout@v3
-
- - name: Install Dependencies
- run: |
- sudo apt-get update
- sudo apt-get install -y gcc-aarch64-linux-gnu qemu-system-arm
-
- - name: Run VC4 Tests
- run: |
- ./tools/testing/kunit/kunit.py run \
- --kunitconfig=drivers/gpu/drm/vc4/tests \
- --cross_compile=aarch64-linux-gnu- --arch=arm64