Skip to content

Commit

Permalink
Fedora CI: set ALWAYS_ROOT
Browse files Browse the repository at this point in the history
Disable root user detection on Fedora so the test pass (the user in the Docker
image is root).
  • Loading branch information
lmoureaux authored and jwrober committed Dec 30, 2023
1 parent f48ff49 commit 4070949
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4070949

Please sign in to comment.