Skip to content

Commit

Permalink
Merge pull request #233 from tlsa/tlsa/fix-mac-ci
Browse files Browse the repository at this point in the history
CI: MacOS: Fix failure to find libyaml
  • Loading branch information
tlsa authored May 22, 2024
2 parents 32c3c5b + 7c67a92 commit 66b7206
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 8 deletions.
16 changes: 12 additions & 4 deletions .github/workflows/ci-devel.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,13 @@ jobs:
run: brew update && brew install
libyaml
- name: build
run: make
run: LDFLAGS="-L$(brew --prefix)/lib"
CFLAGS="-I$(brew --prefix)/include"
make
- name: test
run: make test
run: LDFLAGS="-L$(brew --prefix)/lib"
CFLAGS="-I$(brew --prefix)/include"
make test
mac-clang:
runs-on: macos-latest
steps:
Expand All @@ -60,6 +64,10 @@ jobs:
run: brew update && brew install
libyaml
- name: build
run: make CC=clang
run: LDFLAGS="-L$(brew --prefix)/lib"
CFLAGS="-I$(brew --prefix)/include"
make CC=clang
- name: test
run: make test CC=clang
run: LDFLAGS="-L$(brew --prefix)/lib"
CFLAGS="-I$(brew --prefix)/include"
make test CC=clang
16 changes: 12 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,13 @@ jobs:
run: brew update && brew install
libyaml
- name: build
run: make
run: LDFLAGS="-L$(brew --prefix)/lib"
CFLAGS="-I$(brew --prefix)/include"
make
- name: test
run: make test
run: LDFLAGS="-L$(brew --prefix)/lib"
CFLAGS="-I$(brew --prefix)/include"
make test
mac-clang:
runs-on: macos-latest
steps:
Expand All @@ -63,6 +67,10 @@ jobs:
run: brew update && brew install
libyaml
- name: build
run: make CC=clang
run: LDFLAGS="-L$(brew --prefix)/lib"
CFLAGS="-I$(brew --prefix)/include"
make CC=clang
- name: test
run: make test CC=clang
run: LDFLAGS="-L$(brew --prefix)/lib"
CFLAGS="-I$(brew --prefix)/include"
make test CC=clang

0 comments on commit 66b7206

Please sign in to comment.