From 547666ca63960ace96f2edb10e220d6387835632 Mon Sep 17 00:00:00 2001 From: mintsuki Date: Mon, 20 Jun 2022 02:17:00 +0200 Subject: [PATCH] gh: Run check workflow on Arch Linux container --- .github/workflows/check.yml | 15 ++++++++------- README.md | 3 +-- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 3e8e0b34..20de8938 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -5,17 +5,18 @@ on: [push, pull_request] jobs: build: name: Check for compilation failures - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest + container: archlinux:latest 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 + run: pacman --noconfirm -Syu && pacman --needed --noconfirm -S base-devel git autoconf automake nasm curl mtools llvm clang lld - - name: Build the bootloader (GNU) - run: ./bootstrap && ./configure --enable-werror --enable-all && make all && make maintainer-clean + - name: Checkout code + uses: actions/checkout@v3 + + - name: Git config + run: git config --global --add safe.directory "$GITHUB_WORKSPACE" - name: Build the bootloader (LLVM) run: ./bootstrap && ./configure TOOLCHAIN=llvm --enable-werror --enable-all && make all && make maintainer-clean diff --git a/README.md b/README.md index 61b8cf43..d5e8e413 100644 --- a/README.md +++ b/README.md @@ -83,8 +83,7 @@ In order to build Limine, the following programs have to be installed: (optional, necessary to build `limine-cd-efi.bin`). Furthermore, either the toolchain must have been built in the previous 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 -paragraph as it is built as part of it. +the respective binutils. ### Configure