File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -4,11 +4,12 @@ on: [push]
4
4
jobs :
5
5
pytest :
6
6
runs-on : ubuntu-latest
7
+ container : ubuntu:24.04
7
8
steps :
8
9
- uses : actions/checkout@v3
9
10
10
11
- 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
12
13
13
14
- uses : actions/setup-python@v5
14
15
with :
23
24
- uses : syphar/restore-pip-download-cache@v1
24
25
if : steps.cache-virtualenv.outputs.cache-hit != 'true'
25
26
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
+
26
31
# the package installation will only be executed when the
27
32
# requirements-files have changed.
28
33
- run : pip install --upgrade pip && pip install . && pip install pytest autoflake black isort cryptography==3.4.8 tpm2_pytss
You can’t perform that action at this time.
0 commit comments