Skip to content

Commit 0512361

Browse files
committed
added wolfssl as a dependency
1 parent 5776877 commit 0512361

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

.github/workflows/zephyr.yml

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Zephyr wolftpm tests
33
# START OF COMMON SECTION
44
on:
55
push:
6-
branches: [ 'master', 'main', 'release/**' ]
6+
branches: [ '*' ]
77
pull_request:
88
branches: [ '*' ]
99

@@ -16,16 +16,10 @@ jobs:
1616
run_test:
1717
name: Build and run
1818
strategy:
19-
fail-fast: false
2019
matrix:
2120
config:
2221
- zephyr-ref: v3.4.0
2322
zephyr-sdk: 0.16.1
24-
- zephyr-ref: v3.5.0
25-
zephyr-sdk: 0.16.3
26-
- zephyr-ref: v2.7.4
27-
zephyr-sdk: 0.16.3
28-
if: github.repository_owner == 'wolftpm'
2923
runs-on: ubuntu-22.04
3024
# This should be a safe limit for the tests to run.
3125
timeout-minutes: 25
@@ -58,9 +52,11 @@ jobs:
5852
- name: Update west.yml
5953
working-directory: zephyr/zephyr
6054
run: |
61-
REF=$(echo '${{ github.ref }}' | sed -e 's/\//\\\//g')
62-
sed -e 's/remotes:/remotes:\n \- name: wolftpm\n url\-base: https:\/\/github.com\/${{ github.repository_owner }}/' -i west.yml
55+
EF=$(echo '${{ github.ref }}' | sed -e 's/\//\\\//g')
56+
sed -e 's/remotes:/remotes:\n \- name: wolfssl\n url\-base: https:\/\/github.com\/wolfssl/' -i west.yml
57+
sed -e "s/remotes:/remotes:\n \- name: wolftpm\n url\-base: https:\/\/github.com\/${{ github.repository_owner }}/" -i west.yml
6358
sed -e "s/projects:/projects:\n \- name: wolftpm\n path: modules\/lib\/wolftpm\n remote: wolftpm\n revision: $REF/" -i west.yml
59+
sed -e 's/projects:/projects:\n \- name: wolfssl\n path: modules\/crypto\/wolfssl\n remote: wolfssl\n revision: master/' -i west.yml
6460
6561
- name: Update west workspace
6662
working-directory: zephyr
@@ -93,7 +89,7 @@ jobs:
9389
run: |
9490
./zephyr/scripts/twister -T modules/lib/wolftpm --test zephyr/samples/wolftpm_wrap_test/sample.lib.wolftpm_wrap_test -vvv
9591
rm -rf zephyr/twister-out
96-
92+
9793
- name: Run wolftpm wrap caps
9894
id: wolftpm-wrap-caps
9995
working-directory: zephyr

0 commit comments

Comments
 (0)