build: Pass -undef to preprocessor calls

This commit is contained in:
mintsuki
2022-03-02 15:46:40 +01:00
parent b718310205
commit 5542dffaa7
2 changed files with 14 additions and 11 deletions

View File

@@ -12,7 +12,10 @@ jobs:
uses: actions/checkout@v2
- name: Install dependencies
run: sudo apt-get update && sudo apt-get install git build-essential autoconf automake nasm curl mtools -y
run: sudo apt-get update && sudo apt-get install git build-essential autoconf automake nasm curl mtools clang -y
- name: Build the bootloader
run: ./autogen.sh --enable-werror && make all
- name: Build the bootloader (gcc)
run: ./autogen.sh CC=gcc --enable-werror && make all && make maintainer-clean
- name: Build the bootloader (clang)
run: ./autogen.sh CC=clang --enable-werror && make all && make maintainer-clean