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-05-07 17:44:34 +03:00
|
|
|
run: sudo apt-get update && sudo apt-get install git build-essential autoconf automake nasm curl mtools llvm clang lld -y
|
2021-09-29 18:41:12 +03:00
|
|
|
|
2022-04-20 05:58:29 +03:00
|
|
|
- name: Build the bootloader (GNU)
|
2022-06-15 06:01:22 +03:00
|
|
|
run: ./bootstrap && ./configure --enable-werror --enable-all && 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)
|
2022-06-15 06:01:22 +03:00
|
|
|
run: ./bootstrap && ./configure TOOLCHAIN=llvm --enable-werror --enable-all && make all && make maintainer-clean
|