limine/.github/workflows/check.yml

22 lines
698 B
YAML
Raw Normal View History

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)
2022-06-15 06:01:22 +03:00
run: ./bootstrap && ./configure --enable-werror --enable-all && make all && make maintainer-clean
- 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