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 757b1a4
Showing 1 changed file with 6 additions and 12 deletions.
18 changes: 6 additions & 12 deletions .github/workflows/cmake-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 .

0 comments on commit 757b1a4

Please sign in to comment.