Build with default GCC

This change updates the build pipeline to build the kernel with the
default GCC version on Debian Buster. This is more safe for people
running custom kernel modules.
This commit is contained in:
Fabian Mastenbroek 2021-04-19 17:55:01 +02:00
parent afe2ba30ae
commit c63bdfa130
No known key found for this signature in database
GPG key ID: 405FC6F81F0A7B85
2 changed files with 2 additions and 2 deletions

View file

@ -22,7 +22,7 @@ jobs:
rm -rf *.deb *.ddeb *.build *.buildinfo *.changes
cd pve-edge-kernel
debian/rules debian/control
debuild -e CC=gcc-10 -e CCACHE_DIR=/var/cache/ccache --prepend-path=/usr/lib/ccache --jobs=auto -b -uc -us
debuild -e CCACHE_DIR=/var/cache/ccache --prepend-path=/usr/lib/ccache --jobs=auto -b -uc -us
- name: Upload Artifacts
uses: actions/upload-artifact@v2-preview
with:

View file

@ -14,7 +14,7 @@ jobs:
matrix:
include:
- build_profile: 'generic'
build_cc: gcc-10
build_cc: gcc
build_cflags: ''
steps:
- name: Clean Workspace