We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1185f89 commit edf4210Copy full SHA for edf4210
.github/workflows/ci.yaml
@@ -9,6 +9,7 @@ jobs:
9
matrix:
10
mode: [debug, release]
11
module: [builtin, loadable]
12
+ outputdir: [srcdir, builddir]
13
14
steps:
15
# Setup
@@ -22,7 +23,10 @@ jobs:
22
23
- run: cp .github/workflows/kernel-${{ matrix.mode }}.config .config
24
- if: matrix.module == 'loadable'
25
run: sed -i -E 's/^(CONFIG_RUST_EXAMPLE=)(y)$/\1m/g' .config
- - 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
30
31
# Run
32
- if: matrix.module == 'builtin'
0 commit comments