gh: Run check workflow on Arch Linux container
This commit is contained in:
parent
99cb8f2653
commit
547666ca63
15
.github/workflows/check.yml
vendored
15
.github/workflows/check.yml
vendored
@ -5,17 +5,18 @@ on: [push, pull_request]
|
|||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
name: Check for compilation failures
|
name: Check for compilation failures
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-latest
|
||||||
|
container: archlinux:latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: sudo apt-get update && sudo apt-get install git build-essential autoconf automake nasm curl mtools llvm clang lld -y
|
run: pacman --noconfirm -Syu && pacman --needed --noconfirm -S base-devel git autoconf automake nasm curl mtools llvm clang lld
|
||||||
|
|
||||||
- name: Build the bootloader (GNU)
|
- name: Checkout code
|
||||||
run: ./bootstrap && ./configure --enable-werror --enable-all && make all && make maintainer-clean
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Git config
|
||||||
|
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
|
||||||
|
|
||||||
- name: Build the bootloader (LLVM)
|
- name: Build the bootloader (LLVM)
|
||||||
run: ./bootstrap && ./configure TOOLCHAIN=llvm --enable-werror --enable-all && make all && make maintainer-clean
|
run: ./bootstrap && ./configure TOOLCHAIN=llvm --enable-werror --enable-all && make all && make maintainer-clean
|
||||||
|
@ -83,8 +83,7 @@ In order to build Limine, the following programs have to be installed:
|
|||||||
(optional, necessary to build `limine-cd-efi.bin`).
|
(optional, necessary to build `limine-cd-efi.bin`).
|
||||||
Furthermore, either the toolchain must have been built in the previous
|
Furthermore, either the toolchain must have been built in the previous
|
||||||
paragraph, or `gcc` or `llvm/clang` must also be installed, alongside
|
paragraph, or `gcc` or `llvm/clang` must also be installed, alongside
|
||||||
the respective binutils. `nasm` is optional if the toolchain was built in the previous
|
the respective binutils.
|
||||||
paragraph as it is built as part of it.
|
|
||||||
|
|
||||||
### Configure
|
### Configure
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user