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 a37ccc9
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,21 +38,17 @@ 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 xz
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
# check that the working dir is clean
git describe --broken --dirty --all | grep -qv dirty
make clean
./autogen.sh --enable-embedded-yajl
./configure --enable-embedded-yajl CFLAGS='-Wall -Wextra -Werror'
make -j $(nproc) distcheck
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
test_and_build_rust_bindings:
name: test and build rust bindings
runs-on: ubuntu-latest
Expand Down

0 comments on commit a37ccc9

Please sign in to comment.