Merge pull request #3076 from airween/v2/ciworklow #576
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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` |