Skip to content

Commit

Permalink
github: test with the embedded yajl library
Browse files Browse the repository at this point in the history
Signed-off-by: Giuseppe Scrivano <[email protected]>
  • Loading branch information
giuseppe committed May 7, 2024
1 parent bed19ad commit 23a66b9
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,19 +38,18 @@ jobs:
install: |
apt-get update -q -y
apt-get install -q -y python3 automake libtool autotools-dev git make cmake pkg-config gcc wget libyajl-dev
apt-get install -q -y python3 automake libtool autotools-dev git make cmake pkg-config gcc wget
run: |
find $(pwd) -name '.git' -exec bash -c 'git config --global --add safe.directory ${0%/.git}' {} \;
./autogen.sh
./configure CFLAGS='-Wall -Wextra -Werror'
make -j $(nproc) distcheck
./configure --enable-embedded-yajl CFLAGS='-Wall -Wextra -Werror'
make -j $(nproc) distcheck DISTCHECK_CONFIGURE_FLAGS=--enable-embedded-yajl
# check that the working dir is clean
git describe --broken --dirty --all | grep -qv dirty
make clean
./configure --enable-embedded-yajl CFLAGS='-Wall -Wextra -Werror'
make -j $(nproc) distcheck
# check that the working dir is clean
git describe --broken --dirty --all | grep -qv dirty
test_and_build_rust_bindings:
Expand Down

0 comments on commit 23a66b9

Please sign in to comment.