Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonish committed Oct 7, 2024
1 parent 3f0512e commit e58d35e
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3144,6 +3144,7 @@ jobs:
brew install \
autoconf \
automake \
cbindgen \
curl \
hiredis \
jansson \
Expand All @@ -3152,14 +3153,11 @@ jobs:
libnet \
libtool \
libyaml \
pyyaml \
pcre2 \
pkg-config \
python \
rust \
xz
- name: Install cbindgen
run: cargo install --debug --version 0.24.3 cbindgen
- run: echo "$HOME/.cargo/bin" >> $GITHUB_PATH
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938
- run: git config --global --add safe.directory /__w/suricata/suricata
Expand All @@ -3170,6 +3168,10 @@ jobs:
path: prep
- run: tar xvf prep/libhtp.tar.gz
- run: tar xvf prep/suricata-update.tar.gz
- run: python3 -m venv ./testenv
- run: |
. ./testenv/bin/activate
pip install pyyaml
- run: ./autogen.sh
- run: CPATH="$HOMEBREW_PREFIX/include:$CPATH" LIBRARY_PATH="$HOMEBREW_PREFIX/lib:$LIBRARY_PATH" PATH="/opt/homebrew/opt/libtool/libexec/gnubin:$PATH" CFLAGS="${DEFAULT_CFLAGS}" ./configure --enable-warnings --enable-unittests --prefix="$HOME/.local/"
- run: CPATH="$HOMEBREW_PREFIX/include:$CPATH" LIBRARY_PATH="$HOMEBREW_PREFIX/lib:$LIBRARY_PATH" PATH="/opt/homebrew/opt/libtool/libexec/gnubin:$PATH" CFLAGS="${DEFAULT_CFLAGS}" make -j2
Expand Down

0 comments on commit e58d35e

Please sign in to comment.