2021-09-29 18:41:12 +03:00
|
|
|
name: Check for compilation failures
|
|
|
|
|
|
|
|
on: [push, pull_request]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
name: Check for compilation failures
|
2022-06-20 03:17:00 +03:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
container: archlinux:latest
|
2021-09-29 18:41:12 +03:00
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: Install dependencies
|
2022-06-20 03:17:00 +03:00
|
|
|
run: pacman --noconfirm -Syu && pacman --needed --noconfirm -S base-devel git autoconf automake nasm curl mtools llvm clang lld
|
|
|
|
|
|
|
|
- name: Checkout code
|
|
|
|
uses: actions/checkout@v3
|
2021-09-29 18:41:12 +03:00
|
|
|
|
2022-06-20 03:17:00 +03:00
|
|
|
- name: Git config
|
|
|
|
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
|
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
|