File: build.yml

package info (click to toggle)
libapache2-mod-auth-openidc 2.4.18-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,036 kB
  • sloc: ansic: 22,642; makefile: 210; sh: 2
file content (27 lines) | stat: -rw-r--r-- 753 bytes parent folder | download
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