summaryrefslogtreecommitdiff
path: root/.github/workflows/test.yaml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/test.yaml')
-rw-r--r--.github/workflows/test.yaml15
1 files changed, 13 insertions, 2 deletions
diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml
index 1a296fa..ff083ab 100644
--- a/.github/workflows/test.yaml
+++ b/.github/workflows/test.yaml
@@ -12,8 +12,19 @@ jobs:
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
- - name: Install PAM
- run: sudo apt install -y libpam-dev
+ - name: Update system
+ run: |
+ sudo apt-get update -y
+ sudo apt-get dist-upgrade -y
+ - name: Install PAM with debug symbols
+ run: |
+ sudo apt-get install ubuntu-dbgsym-keyring -y
+ echo "deb http://ddebs.ubuntu.com $(lsb_release -cs) main restricted universe multiverse
+ deb http://ddebs.ubuntu.com $(lsb_release -cs)-updates main restricted universe multiverse
+ deb http://ddebs.ubuntu.com $(lsb_release -cs)-proposed main restricted universe multiverse" | \
+ sudo tee -a /etc/apt/sources.list.d/ddebs.list
+ sudo apt-get update -y
+ sudo apt-get install -y libpam-dev libpam-modules-dbgsym libpam0*-dbgsym
- name: Add a test user
run: sudo useradd -d /tmp/test -p '$1$Qd8H95T5$RYSZQeoFbEB.gS19zS99A0' -s /bin/false test
- name: Checkout code