Skip to content

Commit edf4210

Browse files
committed
CI: test O= builds too
O= builds do not work at the moment, but we will fix them soon. Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
1 parent 1185f89 commit edf4210

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/ci.yaml

+5-1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ jobs:
99
matrix:
1010
mode: [debug, release]
1111
module: [builtin, loadable]
12+
outputdir: [srcdir, builddir]
1213

1314
steps:
1415
# Setup
@@ -22,7 +23,10 @@ jobs:
2223
- run: cp .github/workflows/kernel-${{ matrix.mode }}.config .config
2324
- if: matrix.module == 'loadable'
2425
run: sed -i -E 's/^(CONFIG_RUST_EXAMPLE=)(y)$/\1m/g' .config
25-
- run: make CC=clang-10 LLVM_CONFIG_PATH=llvm-config-10 -j3
26+
- if: matrix.outputdir == 'srcdir'
27+
run: make CC=clang-10 LLVM_CONFIG_PATH=llvm-config-10 -j3
28+
- if: matrix.outputdir == 'builddir'
29+
run: make O=build CC=clang-10 LLVM_CONFIG_PATH=llvm-config-10 -j3
2630

2731
# Run
2832
- if: matrix.module == 'builtin'

0 commit comments

Comments
 (0)