Skip to content

Commit 4eda4aa

Browse files
committed
Fix MacOS workflow
1 parent 73cda5e commit 4eda4aa

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/macos-check.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
run: ./autogen.sh
3131
- name: wolfssl configure
3232
working-directory: ./wolfssl
33-
run: ./configure --enable-enckeys
33+
run: ./configure --enable-enckeys --prefix=$GITHUB_WORKSPACE/build-dir/
3434
- name: wolfssl make
3535
working-directory: ./wolfssl
3636
run: make
@@ -43,7 +43,7 @@ jobs:
4343
run: ./autogen.sh
4444

4545
- name: configure
46-
run: ./configure
46+
run: ./configure --with-libwolfssl-prefix=$GITHUB_WORKSPACE/build-dir/
4747
- name: make
4848
run: make
4949
- name: make check
@@ -57,21 +57,21 @@ jobs:
5757
run: make check
5858

5959
- name: configure with SN Enabled
60-
run: ./configure --enable-sn
60+
run: ./configure --enable-sn --with-libwolfssl-prefix=$GITHUB_WORKSPACE/build-dir/
6161
- name: make
6262
run: make
6363
- name: make check
6464
run: make check
6565

6666
- name: configure with Non-Block
67-
run: ./configure --enable-nonblock CFLAGS="-DWOLFMQTT_TEST_NONBLOCK"
67+
run: ./configure --enable-nonblock CFLAGS="-DWOLFMQTT_TEST_NONBLOCK" --with-libwolfssl-prefix=$GITHUB_WORKSPACE/build-dir/
6868
- name: make
6969
run: make
7070
- name: make check
7171
run: make check
7272

7373
- name: configure with Non-Block and Multi-threading
74-
run: ./configure --enable-mt --enable-nonblock CFLAGS="-DWOLFMQTT_TEST_NONBLOCK"
74+
run: ./configure --enable-mt --enable-nonblock CFLAGS="-DWOLFMQTT_TEST_NONBLOCK" --with-libwolfssl-prefix=$GITHUB_WORKSPACE/build-dir/
7575
- name: make
7676
run: make
7777
- name: make check

0 commit comments

Comments
 (0)