use tinyconfig with only the bits we need for building

This commit is contained in:
Evgeni Golov 2024-05-20 20:06:09 +02:00
parent 473a6cab7b
commit bee13fd060

View File

@ -39,7 +39,11 @@ jobs:
- uses: hendrikmuhs/ccache-action@v1.2
with:
key: ${{ matrix.linux }}
- run: make -C linux defconfig
- name: Configure kernel
run: |
make -C linux tinyconfig
echo -e "CONFIG_64BIT=y\nCONFIG_X86_64=y\nCONFIG_MODULES=y\nCONFIG_INPUT=y" > linux/kernel/configs/ci.config
make -C linux ci.config
- name: Run make -C linux
run: |
export PATH="/usr/lib/ccache:$PATH"