initramfs: break loop when decompression finishes
[platform/kernel/linux-rpi.git] / .github / workflows / kunit.yml
1 name: KUnit Tests
2
3 on:
4   pull_request:
5     branches: [ "rpi-*"]
6
7   push:
8     branches: [ "rpi-*"]
9
10 jobs:
11   core:
12     name: Generic DRM/KMS Unit Tests
13     runs-on: ubuntu-latest
14
15     steps:
16       - uses: actions/checkout@v3
17
18       - name: Run Generic DRM Tests
19         run: |
20           echo Skipping ./tools/testing/kunit/kunit.py run \
21               --kunitconfig=drivers/gpu/drm/tests
22
23   vc4-arm:
24     name: VC4 Unit Tests on ARM
25     runs-on: ubuntu-latest
26
27     steps:
28       - uses: actions/checkout@v3
29
30       - name: Install Dependencies
31         run: |
32           sudo apt-get update
33           sudo apt-get install -y gcc-arm-linux-gnueabihf qemu-system-arm
34
35       - name: Run VC4 Tests
36         run: |
37           ./tools/testing/kunit/kunit.py run \
38               --kunitconfig=drivers/gpu/drm/vc4/tests \
39               --cross_compile=arm-linux-gnueabihf- --arch=arm
40
41   vc4-arm64:
42     name: VC4 Unit Tests on ARM64
43     runs-on: ubuntu-latest
44
45     steps:
46       - uses: actions/checkout@v3
47
48       - name: Install Dependencies
49         run: |
50           sudo apt-get update
51           sudo apt-get install -y gcc-aarch64-linux-gnu qemu-system-arm
52
53       - name: Run VC4 Tests
54         run: |
55           ./tools/testing/kunit/kunit.py run \
56               --kunitconfig=drivers/gpu/drm/vc4/tests \
57               --cross_compile=aarch64-linux-gnu- --arch=arm64