Skip to content

Commit 2993ea0

Browse files
committed
ci: Use provided configs
Signed-off-by: Andrea Righi <arighi@nvidia.com>
1 parent 376711e commit 2993ea0

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/kernel-build.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,19 @@ jobs:
4343
VNG_PACKAGE=1 BUILD_VIRTME_NG_INIT=1 pip install --break-system-packages .
4444
cd -
4545
46+
- name: Configure Kernel
47+
run: |
48+
if [ "${{ matrix.config }}" = "defconfig" ]; then
49+
vng -vb --kconfig
50+
else
51+
vng -vb --kconfig --config .github/workflows/${{ matrix.config }} --arch arm64 CROSS_COMPILE=aarch64-linux-gnu- ARCH=arm64
52+
fi
53+
# Ensure WERROR is disabled
54+
./scripts/config --disable CONFIG_WERROR
55+
# Disable certificate verification
56+
./scripts/config --disable SYSTEM_TRUSTED_KEYS
57+
./scripts/config --disable SYSTEM_REVOCATION_KEYS ""
58+
4659
- name: Build Kernel
4760
run: |
4861
if [ "${{ matrix.config }}" = "defconfig" ]; then

0 commit comments

Comments
 (0)