Skip to content

Commit

Permalink
Add GitHub CI for WOLFMQTT_USE_COND_SIGNAL
Browse files Browse the repository at this point in the history
  • Loading branch information
dgarske committed Oct 12, 2023
1 parent 9a3bff7 commit 7e34158
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions .github/workflows/ubuntu-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ jobs:
repository: wolfssl/wolfssl
path: wolfssl
- name: wolfssl autogen
working-directory: ./wolfssl
working-directory: ./wolfssl
run: ./autogen.sh
- name: wolfssl configure
working-directory: ./wolfssl
working-directory: ./wolfssl
run: ./configure --enable-enckeys
- name: wolfssl make
working-directory: ./wolfssl
Expand All @@ -32,6 +32,7 @@ jobs:
- uses: actions/checkout@master
- name: autogen
run: ./autogen.sh

- name: configure
run: ./configure
- name: make
Expand All @@ -43,6 +44,7 @@ jobs:
if: ${{ failure() && steps.make-check.outcome == 'failure' }}
run: |
more test-suite.log
- name: configure with SN Enabled
run: ./configure --enable-sn
- name: make
Expand All @@ -54,6 +56,7 @@ jobs:
if: ${{ failure() && steps.make-check-sn.outcome == 'failure' }}
run: |
more test-suite.log
- name: configure with Non-Block
run: ./configure --enable-nonblock CFLAGS="-DWOLFMQTT_TEST_NONBLOCK"
- name: make
Expand All @@ -65,6 +68,7 @@ jobs:
if: ${{ failure() && steps.make-check-nonblock.outcome == 'failure' }}
run: |
more test-suite.log
- name: configure with Non-Block and Multi-threading
run: ./configure --enable-mt --enable-nonblock CFLAGS="-DWOLFMQTT_TEST_NONBLOCK"
- name: make
Expand All @@ -76,3 +80,15 @@ jobs:
if: ${{ failure() && steps.make-check-nonblock-mt.outcome == 'failure' }}
run: |
more test-suite.log
- name: configure with Non-Block and Multi-threading (cond wait)
run: ./configure --enable-mt --enable-nonblock CFLAGS="-DWOLFMQTT_TEST_NONBLOCK -DWOLFMQTT_USE_COND_SIGNAL"
- name: make
run: make
- name: make check
id: make-check-nonblock-mt-cond
run: make check
- name: Show logs on failure
if: ${{ failure() && steps.make-check-nonblock-mt-cond.outcome == 'failure' }}
run: |
more test-suite.log

0 comments on commit 7e34158

Please sign in to comment.