Fix Zephyr workflow test path to correctly locate test cases

Co-Authored-By: aidan@wolfssl.com <aidan@wolfssl.com>
pull/403/head
Devin AI 2025-02-28 19:56:49 +00:00
parent 0a463b3254
commit 20429b5d89
1 changed files with 30 additions and 0 deletions

30
.github/workflows/zephyr.yml vendored 100644
View File

@ -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