limine/.github/workflows/check.yml
2022-06-15 05:01:22 +02:00

22 lines
698 B
YAML

name: Check for compilation failures
on: [push, pull_request]
jobs:
build:
name: Check for compilation failures
runs-on: ubuntu-20.04
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install dependencies
run: sudo apt-get update && sudo apt-get install git build-essential autoconf automake nasm curl mtools llvm clang lld -y
- name: Build the bootloader (GNU)
run: ./bootstrap && ./configure --enable-werror --enable-all && make all && make maintainer-clean
- name: Build the bootloader (LLVM)
run: ./bootstrap && ./configure TOOLCHAIN=llvm --enable-werror --enable-all && make all && make maintainer-clean