Skip to content

Commit

Permalink
Add non-root user
Browse files Browse the repository at this point in the history
  • Loading branch information
project-repo committed Dec 9, 2023
1 parent 4f360cd commit 0f5a448
Showing 1 changed file with 14 additions and 10 deletions.
24 changes: 14 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,6 @@ jobs:
- run: meson setup build -Dxwayland=true -Dman-pages=true --buildtype=release
- run: ninja -C build
- run: meson test -C build --suite devel --suite devel-long -v
pkgtest:
runs-on: ubuntu-latest
container:
image: archlinux:latest
steps:
- run: pacman-key --init
- run: pacman -Syu --noconfirm git sudo
- run: git clone https://github.com/project-repo/cagebreak-pkgbuild
- run: cd cagebreak-pkgbuild/cagebreak
- run: makepkg
basic:
runs-on: ubuntu-latest
container:
Expand All @@ -37,6 +27,8 @@ jobs:
- run: bash scripts/install-development-environment
- run: meson setup build -Dxwayland=true -Dman-pages=true --buildtype=release
- run: ninja -C build
- run: useradd test && usermod -L test
- user: test
- run: meson test -C build --suite basic -v
release:
runs-on: ubuntu-latest
Expand All @@ -49,6 +41,18 @@ jobs:
- run: bash scripts/install-development-environment
- run: meson setup build -Dxwayland=true -Dman-pages=true --buildtype=release
- run: ninja -C build
- run: useradd test && usermod -L test
- user: test
- run: meson test -C build --suite release -v


# pkgtest:
# runs-on: ubuntu-latest
# container:
# image: archlinux:latest
# steps:
# - run: pacman-key --init
# - run: pacman -Syu --noconfirm git sudo
# - run: git clone https://github.com/project-repo/cagebreak-pkgbuild
# - run: cd cagebreak-pkgbuild/cagebreak
# - run: makepkg

0 comments on commit 0f5a448

Please sign in to comment.