Skip to content

Commit

Permalink
enable JQ support in Github build/arch actions
Browse files Browse the repository at this point in the history
Signed-off-by: Hans Zandbelt <[email protected]>
  • Loading branch information
zandbelt committed Sep 11, 2024
1 parent c8005bc commit b8a7e09
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/archs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
install: |
apt-get update -y
apt-get install -y apache2-dev libcjose-dev libssl-dev check pkg-config wget
apt-get install -y libjansson-dev libcurl4-openssl-dev libhiredis-dev libmemcached-dev redis-server memcached libpcre2-dev libpcre2-8-0
apt-get install -y libjansson-dev libcurl4-openssl-dev libhiredis-dev libmemcached-dev redis-server memcached libpcre2-dev libpcre2-8-0 libjq-dev
apt-get install -y build-essential libpcre3 libpcre3-dev zlib1g zlib1g-dev libxml2 libxml2-dev uuid-dev
cd /tmp
wget --no-check-certificate https://nginx.org/download/nginx-${{ matrix.nginx_version }}.tar.gz
Expand All @@ -49,6 +49,6 @@ jobs:
cd /tmp/nginx && ./configure --with-debug
run: |
./autogen.sh
./configure --with-nginx=/tmp/nginx
./configure --with-nginx=/tmp/nginx --with-jq=/usr
sed -i "s/-l/#-l/g" /etc/memcached.conf
service memcached start && service redis-server start && make check || (cat test-suite.log && exit -1)
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
run: |
sudo apt-get update -y
sudo apt-get install -y apache2-dev libcjose-dev libssl-dev check pkg-config
sudo apt-get install -y libjansson-dev libcurl4-openssl-dev libhiredis-dev libmemcached-dev libpcre2-dev libpcre2-8-0
sudo apt-get install -y libjansson-dev libcurl4-openssl-dev libhiredis-dev libmemcached-dev libpcre2-dev libpcre2-8-0 libjq-dev
sudo apt-get install build-essential libpcre3 libpcre3-dev zlib1g zlib1g-dev libxml2 libxml2-dev uuid-dev
cd /tmp
wget https://nginx.org/download/nginx-${{ matrix.nginx_version }}.tar.gz
Expand All @@ -48,7 +48,7 @@ jobs:
- name: Configure
run: |
./autogen.sh
./configure --with-nginx=/tmp/nginx
./configure --with-nginx=/tmp/nginx --with-jq=/usr
- name: Make
run: make
Expand Down

0 comments on commit b8a7e09

Please sign in to comment.