From 4070949c614d25b0e4726912789199ce8b9dce64 Mon Sep 17 00:00:00 2001 From: Louis Moureaux Date: Sat, 30 Dec 2023 04:55:02 +0100 Subject: [PATCH] Fedora CI: set ALWAYS_ROOT Disable root user detection on Fedora so the test pass (the user in the Docker image is root). --- .github/workflows/build.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 73be3e1315..3453b1b74e 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -323,10 +323,13 @@ jobs: elfutils-libs - uses: actions/checkout@v3 - name: Configure + # Set ALWAYS_ROOT because the container user is root and creating an + # unpriviledged user would be too much work. run: | cmake . -B build -G Ninja \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ - -DCMAKE_INSTALL_PREFIX=/usr + -DCMAKE_INSTALL_PREFIX=/usr \ + -DALWAYS_ROOT=YES - name: Build run: | cmake --build build