mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-14 13:56:01 +03:00
32 lines
912 B
YAML
32 lines
912 B
YAML
name: Quality Assurance
|
|
|
|
on:
|
|
push:
|
|
pull_request:
|
|
|
|
jobs:
|
|
build-linux:
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
matrix:
|
|
os: [ubuntu-22.04]
|
|
platform: [x64]
|
|
compiler: [gcc]
|
|
configure:
|
|
- {label: "with pcre2", opt: "--with-pcre2" }
|
|
- {label: "with lua", opt: "--with-lua" }
|
|
- {label: "wo lua", opt: "--without-lua" }
|
|
steps:
|
|
- name: Setup Dependencies
|
|
run: |
|
|
sudo apt-get update -y -qq
|
|
sudo apt-get install -y apache2-dev libxml2-dev liblua5.1-0-dev libcurl4-gnutls-dev libpcre2-dev pkg-config libyajl-dev
|
|
- uses: actions/checkout@v2
|
|
- name: autogen.sh
|
|
run: ./autogen.sh
|
|
- name: configure ${{ matrix.configure.label }}
|
|
run: ./configure ${{ matrix.configure.opt }}
|
|
- uses: ammaraskar/gcc-problem-matcher@master
|
|
- name: make
|
|
run: make -j `nproc`
|