From 4a30d82af6fa873b66e16a92f6a9dcc4b3d75788 Mon Sep 17 00:00:00 2001 From: Alexander Mikhalitsyn Date: Mon, 19 Jan 2026 15:21:03 +0100 Subject: [PATCH] github: test io_uring-based event loop Previously, I've added https://github.com/lxc/lxc-ci/pull/714, but this stuff was lost during our switch to GH Actions from Jenkins. Signed-off-by: Alexander Mikhalitsyn --- .github/workflows/builds.yml | 3 ++- .github/workflows/tests.yml | 13 +++++++++++-- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/.github/workflows/builds.yml b/.github/workflows/builds.yml index 81eb6ef47..4978c8f54 100644 --- a/.github/workflows/builds.yml +++ b/.github/workflows/builds.yml @@ -36,7 +36,8 @@ jobs: libdbus-1-dev \ libpam0g-dev \ libseccomp-dev \ - libselinux1-dev + libselinux1-dev \ + liburing-dev - name: Checkout the packaging branch run: | diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 7dc684a48..9fb080506 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -44,6 +44,9 @@ jobs: - ubuntu-24.04 - ubuntu-22.04-arm - ubuntu-24.04-arm + async-api: + - epoll + - io_uring variant: - default - sanitizer @@ -54,6 +57,10 @@ jobs: os: ubuntu-22.04-arm - variant: sanitizer os: ubuntu-24.04-arm + - async-api: io_uring + os: ubuntu-22.04-arm + - async-api: io_uring + os: ubuntu-22.04 runs-on: ${{ matrix.os }} steps: - name: Checkout code @@ -75,7 +82,8 @@ jobs: libdbus-1-dev \ libpam0g-dev \ libseccomp-dev \ - libselinux1-dev + libselinux1-dev \ + liburing-dev - name: Compiler version env: @@ -97,6 +105,7 @@ jobs: if [ "${{ matrix.variant }}" = "default" ]; then meson setup build \ -Dprefix=/usr \ + -Dio-uring-event-loop=${{ matrix.async-api == 'io_uring' }} \ -Dtests=true \ -Dpam-cgroup=true \ -Dtools-multicall=true \ @@ -106,12 +115,12 @@ jobs: elif [ "${{ matrix.variant }}" = "sanitizer" ]; then meson setup build \ -Dprefix=/usr \ + -Dio-uring-event-loop=${{ matrix.async-api == 'io_uring' }} \ -Dtests=true \ -Dpam-cgroup=true \ -Dtools-multicall=true \ -Dwerror=true \ -Db_lto_mode=default \ - -Dio-uring-event-loop=false \ -Db_lundef=false \ -Db_sanitize=address,undefined fi -- 2.47.3