Skip to content

Commit 24a45fe

Browse files
author
Johannes Holland
committed
[wip] debug
1 parent a30cb9a commit 24a45fe

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/test.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,12 @@ on: [push]
44
jobs:
55
pytest:
66
runs-on: ubuntu-latest
7+
container: ubuntu:24.04
78
steps:
89
- uses: actions/checkout@v3
910

1011
- name: Install dependencies
11-
run: sudo apt install -y libpcap-dev libtss2-dev
12+
run: apt update && apt install -y libpcap-dev libtss2-dev gcc
1213

1314
- uses: actions/setup-python@v5
1415
with:
@@ -23,6 +24,10 @@ jobs:
2324
- uses: syphar/restore-pip-download-cache@v1
2425
if: steps.cache-virtualenv.outputs.cache-hit != 'true'
2526

27+
- run: for lib in tss2-esys tss2-tctildr tss2-rc tss2-mu tss2-fapi tss2-policy tss2-tcti-spi-helper; do echo "$lib=$(pkg-config --modversion $lib 2>/dev/null || echo -)"; done
28+
- run: for lib in tss2-esys tss2-tctildr tss2-rc tss2-mu tss2-fapi tss2-policy tss2-tcti-spi-helper; do pkg-config --cflags $lib 2>/dev/null || true; done
29+
- run: ls -la /usr/include/tss2
30+
2631
# the package installation will only be executed when the
2732
# requirements-files have changed.
2833
- run: pip install --upgrade pip && pip install . && pip install pytest autoflake black isort cryptography==3.4.8 tpm2_pytss

0 commit comments

Comments
 (0)