Skip to content

Commit

Permalink
Merge pull request #219 from larsewi/macos
Browse files Browse the repository at this point in the history
CFE-4385: Temporary fix for GH Action failures
  • Loading branch information
larsewi authored Apr 30, 2024
2 parents 28df3c4 + 40c8b5e commit 329361a
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/macos_unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,17 @@ jobs:
with:
submodules: recursive
- name: Install dependencies
run: brew install lmdb automake openssl pcre2
run: brew install lmdb automake openssl pcre2 autoconf libtool
- name: Check tools
run: command -v libtool && command -v automake && command -v autoconf
- name: Check tools versions
run: libtool -V && automake --version && autoconf --version
- name: Run autotools / configure
run: ./autogen.sh --enable-debug
run: >
LDFLAGS="-L`brew --prefix lmdb`/lib -L`brew --prefix openssl`/lib -L`brew --prefix pcre2`/lib"
CPPFLAGS="-I`brew --prefix lmdb`/include -I`brew --prefix openssl`/include -I`brew --prefix pcre2`/include"
PATH="/opt/homebrew/opt/libtool/libexec/gnubin:$PATH"
./autogen.sh --enable-debug
- name: Compile and link
run: make -j8 CFLAGS="-Werror -Wall"
- name: Run unit tests
Expand Down

0 comments on commit 329361a

Please sign in to comment.