Skip to content

Commit 55e7123

Browse files
committed
Fix macos libuv CI build
1 parent e968ca2 commit 55e7123

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/c-cpp.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ jobs:
3737
steps:
3838
- uses: actions/checkout@v2
3939
- name: install libuv
40-
run: brew install libuv
40+
run: ls /opt/homebrew/opt/libuv
4141
- name: build examples
42-
run: WITH_LIBUV=1 WITH_ASAN=1 make examples
42+
run: CFLAGS=-I$(brew --prefix libuv)/include LDFLAGS=-L$(brew --prefix libuv)/lib WITH_LIBUV=1 WITH_ASAN=1 make examples
4343
- name: run test
4444
run: ./hammer_test && ./hammer_test_unix
4545

0 commit comments

Comments
 (0)