Skip to content

Commit

Permalink
[wip] debug
Browse files Browse the repository at this point in the history
  • Loading branch information
Johannes Holland committed Aug 29, 2024
1 parent a30cb9a commit 24a45fe
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@ on: [push]
jobs:
pytest:
runs-on: ubuntu-latest
container: ubuntu:24.04
steps:
- uses: actions/checkout@v3

- name: Install dependencies
run: sudo apt install -y libpcap-dev libtss2-dev
run: apt update && apt install -y libpcap-dev libtss2-dev gcc

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

- 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
- 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
- run: ls -la /usr/include/tss2

# the package installation will only be executed when the
# requirements-files have changed.
- run: pip install --upgrade pip && pip install . && pip install pytest autoflake black isort cryptography==3.4.8 tpm2_pytss
Expand Down

0 comments on commit 24a45fe

Please sign in to comment.