mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-14 13:56:01 +03:00
Merge pull request #3075 from airween/v2/ciworklow
Initial release of CI worklow
This commit is contained in:
commit
7d601dcbb8
30
.github/ci.yml
vendored
Normal file
30
.github/ci.yml
vendored
Normal file
@ -0,0 +1,30 @@
|
||||
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" }
|
||||
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: build.sh
|
||||
run: ./build.sh
|
||||
- name: configure ${{ matrix.configure.label }}
|
||||
run: ./configure ${{ matrix.configure.opt }}
|
||||
- uses: ammaraskar/gcc-problem-matcher@master
|
||||
- name: make
|
||||
run: make -j `nproc`
|
Loading…
x
Reference in New Issue
Block a user