Skip to content

Commit

Permalink
Add a github action
Browse files Browse the repository at this point in the history
  • Loading branch information
traylenator committed Jan 10, 2024
1 parent 4b393c1 commit add7dc5
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/pamtester.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
name: pamtester run of pam_xdg_runtime_dir
on: [push]
jobs:
pamtester:
runs-on: ubuntu-latest
steps:
- run: sudo apt install pamtester gcc make libselinux1-dev
- run: make
- run: sudo make install INSTALLDIR=/usr/lib/x86_64-linux-gnu
- run: sudo cp pamtester/xdg_runtime_dir
- run: sudo adduser testuser
- run: pamtester -v xdg_runtime_dir testuser open_session
- run: test -d /run/user/$(id -u testuser)

0 comments on commit add7dc5

Please sign in to comment.