Skip to content

Commit

Permalink
Merge pull request #2 from cernops/first
Browse files Browse the repository at this point in the history
Add a github action
  • Loading branch information
traylenator authored Jan 10, 2024
2 parents 4b393c1 + add7dc5 commit a813054
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 a813054

Please sign in to comment.