Skip to content

Commit b3cfd06

Browse files
committed
workflows: add check and libjq
Signed-off-by: Hans Zandbelt <[email protected]>
1 parent 51fa5df commit b3cfd06

File tree

3 files changed

+11
-15
lines changed

3 files changed

+11
-15
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ jobs:
1111
run: |
1212
sudo apt-get update -y
1313
sudo apt-get install -y apache2-dev libcjose-dev libssl-dev check pkg-config
14-
sudo apt-get install -y libjansson-dev libcurl4-openssl-dev libhiredis-dev libpcre2-dev
14+
sudo apt-get install -y libjansson-dev libcurl4-openssl-dev libhiredis-dev libpcre2-dev libjq-dev check
1515
- name: Configure
1616
run: |
1717
./autogen.sh
18-
./configure
18+
./configure --with-jq
1919
- name: Make
2020
run: make
2121
- name: Test

.github/workflows/coverity.yml

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,11 @@
11
name: Coverity
22

3-
on:
4-
schedule:
5-
- cron: '0 18 * * SUN'
6-
workflow_dispatch:
7-
83
#on:
9-
# push:
10-
# branches: [ master, coverity ]
11-
# pull_request:
12-
# types: [opened, synchronize, reopened]
4+
# schedule:
5+
# - cron: '0 18 * * SUN'
6+
# workflow_dispatch:
7+
8+
on: [push, pull_request]
139

1410
jobs:
1511
build:
@@ -24,7 +20,7 @@ jobs:
2420
run: |
2521
sudo apt-get update -y
2622
sudo apt-get install -y apache2-dev libcjose-dev libssl-dev check pkg-config
27-
sudo apt-get install -y libjansson-dev libcurl4-openssl-dev libhiredis-dev libpcre2-dev
23+
sudo apt-get install -y libjansson-dev libcurl4-openssl-dev libhiredis-dev libpcre2-dev libjq-dev check
2824
- name: Download Coverity Build Tool
2925
env:
3026
TOKEN: ${{ secrets.COVERITY_SCAN_TOKEN }}
@@ -35,7 +31,7 @@ jobs:
3531
- name: Configure
3632
run: |
3733
./autogen.sh
38-
./configure
34+
./configure --with-jq
3935
- name: Make with cov-build
4036
run: |
4137
pwd

.github/workflows/sonarqube.yml.save

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ jobs:
1919
run: |
2020
sudo apt-get update -y
2121
sudo apt-get install -y apache2-dev libcjose-dev libssl-dev check pkg-config
22-
sudo apt-get install -y libjansson-dev libcurl4-openssl-dev libhiredis-dev libpcre2-dev
22+
sudo apt-get install -y libjansson-dev libcurl4-openssl-dev libhiredis-dev libpcre2-dev libjq-dev check
2323
- name: Install sonar-scanner and build-wrapper
2424
uses: SonarSource/sonarcloud-github-c-cpp@v3
2525
- name: Run build-wrapper
2626
run: |
2727
./autogen.sh
28-
./configure
28+
./configure --with-jq
2929
build-wrapper-linux-x86-64 --out-dir ${{ env.BUILD_WRAPPER_OUT_DIR }} make clean all
3030
- name: Run sonar-scanner
3131
env:

0 commit comments

Comments
 (0)