2021-09-29 18:41:12 +03:00
|
|
|
name: Check for compilation failures
|
|
|
|
|
|
|
|
on: [push, pull_request]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
name: Check for compilation failures
|
|
|
|
runs-on: ubuntu-20.04
|
|
|
|
|
|
|
|
steps:
|
2021-09-29 18:51:04 +03:00
|
|
|
- name: Checkout code
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
|
2021-09-29 18:41:12 +03:00
|
|
|
- name: Install dependencies
|
2022-04-20 05:58:29 +03:00
|
|
|
run: sudo apt-get update && sudo apt-get install git build-essential autoconf automake nasm curl mtools clang llvm -y
|
2021-09-29 18:41:12 +03:00
|
|
|
|
2022-04-20 05:58:29 +03:00
|
|
|
- name: Build the bootloader (GNU)
|
|
|
|
run: ./autogen.sh --enable-werror && make all && make maintainer-clean
|
2022-03-02 17:46:40 +03:00
|
|
|
|
2022-04-20 05:58:29 +03:00
|
|
|
- name: Build the bootloader (LLVM)
|
|
|
|
run: ./autogen.sh TOOLCHAIN=llvm --enable-werror && make all && make maintainer-clean
|