Skip to content

Commit

Permalink
Take run_examples.sh out of make check and run manually in CI test to…
Browse files Browse the repository at this point in the history
… avoid parallel builds.
  • Loading branch information
dgarske committed Aug 31, 2023
1 parent 8968d89 commit 8e1dce2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/make-test-swtpm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,15 +49,19 @@ jobs:
- name: make
run: make
- name: make check
run: WOLFSSL_PATH=./wolfssl make check -j1
run: |
make check
WOLFSSL_PATH=./wolfssl ./examples/run_examples.sh
#test no wolfcrypt
- name: configure no wolfCrypt
run: ./configure --enable-swtpm --disable-wolfcrypt
- name: make no wolfCrypt
run: make
- name: make check no wolfCrypt
run: WOLFSSL_PATH=./wolfssl WOLFCRYPT_ENABLE=0 make check -j1
run: |
make check
WOLFSSL_PATH=./wolfssl WOLFCRYPT_ENABLE=0 ./examples/run_examples.sh
#test no wrapper
- name: configure no wrapper
Expand All @@ -73,7 +77,9 @@ jobs:
- name: make smallstack
run: make
- name: make check smallstack
run: WOLFSSL_PATH=./wolfssl make check -j1
run: |
make check
WOLFSSL_PATH=./wolfssl ./examples/run_examples.sh
# test tislock
- name: configure tislock
Expand Down
2 changes: 1 addition & 1 deletion examples/include.am
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ include examples/seal/include.am
include examples/attestation/include.am

if BUILD_EXAMPLES
dist_noinst_SCRIPTS += examples/run_examples.sh
EXTRA_DIST += examples/run_examples.sh
endif

dist_example_DATA+= examples/README.md \
Expand Down

0 comments on commit 8e1dce2

Please sign in to comment.