-
-
Notifications
You must be signed in to change notification settings - Fork 332
27 lines (25 loc) · 753 Bytes
/
build.yml
File metadata and controls
27 lines (25 loc) · 753 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
name: Build
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Dependencies
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 libpcre2-dev libjq-dev check
sudo apt-get install -y valgrind
- name: Configure
run: |
./autogen.sh
./configure --with-jq
- name: Make
run: make
- name: Test
run: make check || (cat test/test-suite.log && exit -1)
- name: Valgrind
run: make valgrind
- name: Distcheck
run: make distcheck DESTDIR=/tmp/mod_auth_openidc