Skip to content

Commit

Permalink
Fix MacOS workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
embhorn committed Jul 26, 2024
1 parent 594b498 commit f5b497d
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/macos-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ jobs:
runs-on: macos-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@master
- uses: actions/checkout@master
with:
repository: wolfssl/wolfssl
Expand All @@ -30,20 +31,22 @@ jobs:
run: ./autogen.sh
- name: wolfssl configure
working-directory: ./wolfssl
run: ./configure --enable-enckeys
run: ./configure --enable-enckeys --prefix=$GITHUB_WORKSPACE/build-dir
- name: wolfssl make
working-directory: ./wolfssl
run: make
- name: wolfssl make install
working-directory: ./wolfssl
run: make install

- uses: actions/checkout@master
- name: Check wolfSSL install dir
run: ls $GITHUB_WORKSPACE/build-dir

- name: autogen
run: ./autogen.sh

- name: configure
run: ./configure
run: ./configure --with-libwolfssl-prefix=$GITHUB_WORKSPACE/build-dir
- name: make
run: make
- name: make check
Expand All @@ -57,21 +60,21 @@ jobs:
run: make check

- name: configure with SN Enabled
run: ./configure --enable-sn
run: ./configure --enable-sn --with-libwolfssl-prefix=$GITHUB_WORKSPACE/build-dir
- name: make
run: make
- name: make check
run: make check

- name: configure with Non-Block
run: ./configure --enable-nonblock CFLAGS="-DWOLFMQTT_TEST_NONBLOCK"
run: ./configure --enable-nonblock CFLAGS="-DWOLFMQTT_TEST_NONBLOCK" --with-libwolfssl-prefix=$GITHUB_WORKSPACE/build-dir
- name: make
run: make
- name: make check
run: make check

- name: configure with Non-Block and Multi-threading
run: ./configure --enable-mt --enable-nonblock CFLAGS="-DWOLFMQTT_TEST_NONBLOCK"
run: ./configure --enable-mt --enable-nonblock CFLAGS="-DWOLFMQTT_TEST_NONBLOCK" --with-libwolfssl-prefix=$GITHUB_WORKSPACE/build-dir
- name: make
run: make
- name: make check
Expand Down

0 comments on commit f5b497d

Please sign in to comment.