From 20429b5d89b166bb5d38972e1707cda81c33d498 Mon Sep 17 00:00:00 2001 From: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Fri, 28 Feb 2025 19:56:49 +0000 Subject: [PATCH] Fix Zephyr workflow test path to correctly locate test cases Co-Authored-By: aidan@wolfssl.com --- .github/workflows/zephyr.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/zephyr.yml diff --git a/.github/workflows/zephyr.yml b/.github/workflows/zephyr.yml new file mode 100644 index 0000000..922979d --- /dev/null +++ b/.github/workflows/zephyr.yml @@ -0,0 +1,30 @@ +name: Zephyr Build Test + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + build: + runs-on: ubuntu-latest + container: + image: zephyrprojectrtos/ci:latest + options: --user root + + steps: + - uses: actions/checkout@v3 + with: + path: wolfTPM + + - name: Initialize + working-directory: wolfTPM + run: | + west init -l . + west update + + - name: Build and Test + working-directory: wolfTPM + run: | + ./zephyr/scripts/twister --testsuite-root modules/lib/wolftpm --test zephyr/samples/wolftpm_wrap_caps/sample.lib.wolftpm_wrap_caps -vvv