diff --git a/.github/actions/test-swtpm/action.yml b/.github/actions/test-swtpm/action.yml index 24e8c0e9..8e2dee5d 100644 --- a/.github/actions/test-swtpm/action.yml +++ b/.github/actions/test-swtpm/action.yml @@ -7,7 +7,7 @@ runs: sudo apt-get -y install automake autoconf libtool libssl-dev sed make gawk \ sed bash dh-exec python3-pip libfuse-dev libglib2.0-dev libjson-glib-dev \ libgmp-dev expect libtasn1-dev socat findutils gnutls-dev gnutls-bin softhsm2 \ - libseccomp-dev tss2 + libseccomp-dev tss2 ${PACKAGES} if [ ! -d libtpms ]; then git clone https://github.com/stefanberger/libtpms; fi diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b39cd361..642a73a9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,10 +24,12 @@ jobs: env: PREFIX: "/usr" CONFIG: "--with-openssl --prefix=/usr --enable-test-coverage" + SUDO: "sudo" CHECK: "check" SWTPM_TEST_IBMTSS2: "1" SWTPM_TEST_STORE_VOLATILE: "1" COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} + PACKAGES: libtpm2-pkcs11-tools steps: - name: Checkout uses: actions/checkout@v4