Skip to content

Commit

Permalink
Fixing the CMake test.
Browse files Browse the repository at this point in the history
  • Loading branch information
dgarske committed Feb 6, 2024
1 parent 6d10ffc commit ab57eaf
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions .github/workflows/cmake-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,24 +21,17 @@ jobs:
sudo apt-get update
sudo apt-get install -y cmake
#pull and build wolfssl
#pull 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="${{env.GITHUB_WORKSPACE}}/wolfssl" ..
cmake --build .
cmake --install .

0 comments on commit ab57eaf

Please sign in to comment.