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
2023-01-20 18:25:15 +03:00
container : archlinux:latest
2021-09-29 18:41:12 +03:00
steps :
- name : Install dependencies
2023-06-04 02:36:06 +03:00
run : pacman --noconfirm -Syu && pacman --needed --noconfirm -S base-devel git autoconf automake nasm curl mtools llvm clang lld aarch64-linux-gnu-gcc riscv64-linux-gnu-gcc
2022-06-20 03:17:00 +03:00
- 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)
2023-03-16 04:28:50 +03:00
run : ./bootstrap && ./configure TOOLCHAIN_FOR_TARGET=llvm --enable-werror --enable-all && make all && make maintainer-clean
2022-07-01 16:04:57 +03:00
2023-03-14 19:20:46 +03:00
- name : Build the bootloader (GNU, x86)
2023-09-16 19:07:44 +03:00
run : ./bootstrap && ./configure TOOLCHAIN_FOR_TARGET=gnu --enable-werror --enable-bios --enable-uefi-ia32 --enable-uefi-x86-64 && make all && make maintainer-clean
2023-01-20 18:25:15 +03:00
2023-03-14 19:20:46 +03:00
- name : Build the bootloader (GNU, aarch64)
2023-03-16 04:28:50 +03:00
run : ./bootstrap && ./configure TOOLCHAIN_FOR_TARGET=aarch64-linux-gnu --enable-werror --enable-uefi-aarch64 && make all && make maintainer-clean
2023-06-04 02:36:06 +03:00
- name : Build the bootloader (GNU, riscv64)
run : ./bootstrap && ./configure TOOLCHAIN_FOR_TARGET=riscv64-linux-gnu --enable-werror --enable-uefi-riscv64 && make all && make maintainer-clean