From d81522c4d958ae90e4898f116c9a38ab0197ea24 Mon Sep 17 00:00:00 2001 From: Dragos Varovici Date: Thu, 5 Mar 2026 07:41:59 +0200 Subject: [PATCH] CI fix for ubuntu runner --- .github/workflows/ci.yml | 6 ++++++ Dockerfile | 9 +++++++++ 2 files changed, 15 insertions(+) create mode 100644 Dockerfile diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ace182f..bf1c18e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,6 +19,12 @@ jobs: steps: - uses: actions/checkout@v6 + - name: Enable io_uring (Linux) + if: runner.os == 'Linux' + run: | + sudo sysctl -w kernel.io_uring_disabled=0 || true + sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0 || true + - uses: mlugg/setup-zig@v2 with: version: 0.15.2 diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..f9b7bf8 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,9 @@ +FROM ubuntu:24.04 +RUN apt-get update && apt-get install -y curl xz-utils +RUN curl -O https://ziglang.org/download/0.15.2/zig-aarch64-linux-0.15.2.tar.xz && \ + tar xf zig-aarch64-linux-0.15.2.tar.xz && \ + mv zig-aarch64-linux-0.15.2 /opt/zig && \ + ln -s /opt/zig/zig /usr/local/bin/zig +WORKDIR /app +COPY . . +CMD ["zig", "build", "integration-test", "--summary", "all"]