forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 2
42 lines (40 loc) · 1.2 KB
/
check.yml
File metadata and controls
42 lines (40 loc) · 1.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: SDXI driver CI
on:
pull_request:
push:
workflow_dispatch:
jobs:
check:
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
arch: [arm64, hexagon, m68k, riscv, s390, x86_64]
cc: [clang, gcc]
include:
- kunit: --kunit # Run unit tests by default.
- sparse: warn # Sparse diagnostics are non-fatal by default.
- cc: clang
sparse: off # Running sparse with clang is redundant.
- arch: riscv
sparse: off # "invalid argument to '-march' ... " messages
- arch: hexagon
sparse: off # I don't think sparse knows hexagon
kunit: --no-kunit # kunit doesn't support this arch
exclude:
- arch: hexagon
cc: gcc
- arch: m68k
cc: clang
- arch: riscv
cc: clang
- arch: s390
cc: clang
steps:
- uses: actions/checkout@v4
- name: Create build environment image
run: |
ci-tools/setup buildenv
- name: Check
run: |
ci-tools/sdxi-quick-check ${{ matrix.kunit }} --sparse=${{ matrix.sparse }} buildenv ${{ matrix.arch }} ${{ matrix.cc }}