Skip to content

Commit 7d601dc

Browse files
authored
Merge pull request #3075 from airween/v2/ciworklow
Initial release of CI worklow
2 parents 2065631 + 8752f6b commit 7d601dc

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/ci.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Quality Assurance
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
jobs:
8+
build-linux:
9+
runs-on: ${{ matrix.os }}
10+
strategy:
11+
matrix:
12+
os: [ubuntu-22.04]
13+
platform: [x64]
14+
compiler: [gcc]
15+
configure:
16+
- {label: "with pcre2", opt: "--with-pcre2" }
17+
- {label: "with lua", opt: "--with-lua" }
18+
steps:
19+
- name: Setup Dependencies
20+
run: |
21+
sudo apt-get update -y -qq
22+
sudo apt-get install -y apache2-dev libxml2-dev liblua5.1-0-dev libcurl4-gnutls-dev libpcre2-dev pkg-config libyajl-dev
23+
- uses: actions/checkout@v2
24+
- name: build.sh
25+
run: ./build.sh
26+
- name: configure ${{ matrix.configure.label }}
27+
run: ./configure ${{ matrix.configure.opt }}
28+
- uses: ammaraskar/gcc-problem-matcher@master
29+
- name: make
30+
run: make -j `nproc`

0 commit comments

Comments
 (0)