From 757b1a487d02947afa56972972630c778eb89f88 Mon Sep 17 00:00:00 2001 From: David Garske Date: Mon, 5 Feb 2024 15:37:55 -0800 Subject: [PATCH] Fixing the CMake test. --- .github/workflows/cmake-build.yml | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/.github/workflows/cmake-build.yml b/.github/workflows/cmake-build.yml index 158ac5c6..302e9da6 100644 --- a/.github/workflows/cmake-build.yml +++ b/.github/workflows/cmake-build.yml @@ -21,24 +21,18 @@ jobs: sudo apt-get update sudo apt-get install -y cmake -#pull and build wolfssl - - uses: actions/checkout@master +#pull wolfssl + - name: Checkout wolfssl + uses: actions/checkout@master with: repository: wolfssl/wolfssl path: wolfssl - - name: Build wolfssl - working-directory: ./wolfssl - run: | - mkdir build - cd build - cmake -DWOLFSSL_TPM=yes .. - make - sudo make install #build wolftpm - name: Build wolfTPM run: | mkdir build cd build - cmake -DWOLFTPM_INTERFACE=SWTPM .. - make + cmake -DWOLFTPM_INTERFACE=SWTPM -DWITH_WOLFSSL_TREE="$GITHUB_WORKSPACE/wolfssl" .. + cmake --build . + cmake --install .