mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-13 21:36:00 +03:00
github workflow: having bison from brew
This commit is contained in:
parent
3748d62f19
commit
dd458dedb8
34
.github/workflows/ci.yml
vendored
34
.github/workflows/ci.yml
vendored
@ -14,12 +14,12 @@ jobs:
|
|||||||
compiler: [gcc, clang]
|
compiler: [gcc, clang]
|
||||||
configure:
|
configure:
|
||||||
- {label: "with parser generation", opt: "--enable-parser-generation" }
|
- {label: "with parser generation", opt: "--enable-parser-generation" }
|
||||||
- {label: "without curl", opt: "--without-curl" }
|
- {label: "wo curl", opt: "--without-curl" }
|
||||||
- {label: "without yajl", opt: "--without-yajl" }
|
- {label: "wo yajl", opt: "--without-yajl" }
|
||||||
- {label: "without geoip", opt: "--without-geoip" }
|
- {label: "wo geoip", opt: "--without-geoip" }
|
||||||
- {label: "without lmdb", opt: "--without-lmdb" }
|
- {label: "wo lmdb", opt: "--without-lmdb" }
|
||||||
- {label: "without ssdeep", opt: "--without-ssdeep" }
|
- {label: "wo ssdeep", opt: "--without-ssdeep" }
|
||||||
- {label: "without lua", opt: "--without-lua" }
|
- {label: "wo lua", opt: "--without-lua" }
|
||||||
- {label: "without maxmind", opt: "--without-maxmind" }
|
- {label: "without maxmind", opt: "--without-maxmind" }
|
||||||
steps:
|
steps:
|
||||||
- name: Setup Dependencies
|
- name: Setup Dependencies
|
||||||
@ -46,21 +46,21 @@ jobs:
|
|||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [macos-10.15, macos-11.0]
|
os: [macos-10.15]
|
||||||
compiler: [gcc, clang]
|
compiler: [clang]
|
||||||
configure:
|
configure:
|
||||||
- {label: "with parser generation", opt: "--enable-parser-generation" }
|
- {label: "with parser generation", opt: "--enable-parser-generation" }
|
||||||
- {label: "without curl", opt: "--without-curl" }
|
- {label: "wo curl", opt: "--without-curl" }
|
||||||
- {label: "without yajl", opt: "--without-yajl" }
|
- {label: "wo yajl", opt: "--without-yajl" }
|
||||||
- {label: "without geoip", opt: "--without-geoip" }
|
- {label: "wo geoip", opt: "--without-geoip" }
|
||||||
- {label: "without lmdb", opt: "--without-lmdb" }
|
- {label: "wo lmdb", opt: "--without-lmdb" }
|
||||||
- {label: "without ssdeep", opt: "--without-ssdeep" }
|
- {label: "wo ssdeep", opt: "--without-ssdeep" }
|
||||||
- {label: "without lua", opt: "--without-lua" }
|
- {label: "wo lua", opt: "--without-lua" }
|
||||||
- {label: "without maxmind", opt: "--without-maxmind" }
|
- {label: "wo maxmind", opt: "--without-maxmind" }
|
||||||
steps:
|
steps:
|
||||||
- name: Setup Dependencies
|
- name: Setup Dependencies
|
||||||
run: |
|
run: |
|
||||||
brew install autoconf automake cppcheck lmdb libyaml lua ssdeep libmaxminddb
|
brew install autoconf automake cppcheck lmdb libyaml lua ssdeep libmaxminddb bison
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
submodules: true
|
submodules: true
|
||||||
@ -70,7 +70,7 @@ jobs:
|
|||||||
run: ./configure ${{ matrix.configure.opt }}
|
run: ./configure ${{ matrix.configure.opt }}
|
||||||
- uses: ammaraskar/gcc-problem-matcher@master
|
- uses: ammaraskar/gcc-problem-matcher@master
|
||||||
- name: make
|
- name: make
|
||||||
run: make -j `nproc`
|
run: make -j `sysctl -n hw.logicalcpu`
|
||||||
- name: check
|
- name: check
|
||||||
run: make check
|
run: make check
|
||||||
- name: check-static
|
- name: check-static
|
||||||
|
Loading…
x
Reference in New Issue
Block a user