Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 20 additions & 8 deletions .github/workflows/build-and-run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ jobs:
- distro: ubuntu-24.04
pkg-distro: ubuntu24.04
cpack-type: Ubuntu24
- distro: ubuntu-24.04-arm
pkg-distro: ubuntu24.04
cpack-type: Ubuntu24
runs-on: ${{ matrix.distro }}
steps:
- name: Set common vars
Expand All @@ -33,7 +36,7 @@ jobs:
git build-essential cmake gcc linux-headers-`uname -r`
libpcre2-dev libssl-dev liblua5.1-0-dev kmod
- name: Check out repository code
uses: actions/checkout@v3
uses: actions/checkout@v5
with:
fetch-depth: 0
- name: mkdir build
Expand Down Expand Up @@ -90,7 +93,8 @@ jobs:
"ubuntu:24.04",
"ubuntu:devel"
]
runs-on: ubuntu-24.04
runner: [ubuntu-24.04, ubuntu-24.04-arm]
runs-on: ${{ matrix.runner }}
container:
image: ${{ matrix.distro }}
steps:
Expand Down Expand Up @@ -124,7 +128,7 @@ jobs:
sed 's/linux-headers-//'` >> $GITHUB_ENV;
cat $GITHUB_ENV
- name: Check out repository code
uses: actions/checkout@v3
uses: actions/checkout@v5
with:
fetch-depth: 0
- name: mkdir build
Expand Down Expand Up @@ -215,15 +219,19 @@ jobs:
run: accel-cmd show stat

Build-in-Container-Alpine:
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
runner: [ubuntu-24.04, ubuntu-24.04-arm]
runs-on: ${{ matrix.runner }}
container:
image: alpine:latest
steps:
- name: Install build tools
run: >
apk update && apk add --no-cache git cmake make g++ pcre2-dev libressl-dev linux-headers libucontext-dev lua5.1-dev
- name: Check out repository code
uses: actions/checkout@v3
uses: actions/checkout@v5
with:
fetch-depth: 0
- name: mkdir build
Expand Down Expand Up @@ -260,7 +268,7 @@ jobs:
emerge -g --autounmask-write sys-kernel/gentoo-kernel-bin || (etc-update --verbose --automode -5 && emerge -g sys-kernel/gentoo-kernel-bin)
emerge -g dev-vcs/git dev-libs/libpcre2 dev-build/cmake dev-lang/lua:5.1
- name: Check out repository code
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
fetch-depth: 0
- name: mkdir build
Expand All @@ -287,15 +295,19 @@ jobs:
run: accel-cmd show stat

Build-in-Container-Fedora:
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
runner: [ubuntu-24.04, ubuntu-24.04-arm]
runs-on: ${{ matrix.runner }}
container:
image: fedora:rawhide
steps:
- name: Install build tools
run: |
dnf -y install git make cmake gcc pcre2-devel openssl-devel lua-devel kernel-devel
- name: Check out repository code
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
fetch-depth: 0
- name: mkdir build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ jobs:
strategy:
fail-fast: false
matrix:
distro: ["ubuntu-24.04", "ubuntu-22.04"]
distro: [ "ubuntu-24.04", "ubuntu-22.04", "ubuntu-24.04-arm"]

runs-on: ${{ matrix.distro }}
steps:
Expand Down
Loading