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 .