summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2025-01-23 14:19:25 -0500
committerTavian Barnes <tavianator@tavianator.com>2025-01-23 14:52:27 -0500
commita02af3bbc2e5aa9f804c0d9751ec7ce39745d32d (patch)
treee533ff34bd8e493366b46bfc52a0b6968668e59b
parent9e9f09700c259e87633ddea4c428386ba8e679d4 (diff)
downloadbfs-a02af3bbc2e5aa9f804c0d9751ec7ce39745d32d.tar.xz
ci: Add an Arm64 Linux job
-rw-r--r--.github/workflows/ci.yml37
1 files changed, 34 insertions, 3 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index a0f6e63..a61c57e 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -3,8 +3,8 @@ name: CI
on: [push, pull_request]
jobs:
- linux:
- name: Linux
+ linux-x86:
+ name: Linux (x86)
runs-on: ubuntu-24.04
@@ -42,7 +42,38 @@ jobs:
- uses: actions/upload-artifact@v4
with:
- name: linux-config.log
+ name: linux-x86-config.log
+ path: distcheck-*/gen/config.log
+
+ linux-arm:
+ name: Linux (Arm64)
+
+ runs-on: ubuntu-24.04-arm
+
+ steps:
+ - uses: actions/checkout@v4
+
+ - name: Install dependencies
+ run: |
+ sudo apt-get update -y
+ sudo apt-get install -y \
+ expect \
+ mandoc \
+ acl \
+ libacl1-dev \
+ attr \
+ libcap2-bin \
+ libcap-dev \
+ libonig-dev \
+ liburing-dev
+
+ - name: Run tests
+ run: |
+ .github/diag.sh make -j$(nproc) distcheck
+
+ - uses: actions/upload-artifact@v4
+ with:
+ name: linux-arm-config.log
path: distcheck-*/gen/config.log
macos: