Skip to content

Commit dd458de

Browse files
committed
github workflow: having bison from brew
1 parent 3748d62 commit dd458de

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

.github/workflows/ci.yml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ jobs:
1414
compiler: [gcc, clang]
1515
configure:
1616
- {label: "with parser generation", opt: "--enable-parser-generation" }
17-
- {label: "without curl", opt: "--without-curl" }
18-
- {label: "without yajl", opt: "--without-yajl" }
19-
- {label: "without geoip", opt: "--without-geoip" }
20-
- {label: "without lmdb", opt: "--without-lmdb" }
21-
- {label: "without ssdeep", opt: "--without-ssdeep" }
22-
- {label: "without lua", opt: "--without-lua" }
17+
- {label: "wo curl", opt: "--without-curl" }
18+
- {label: "wo yajl", opt: "--without-yajl" }
19+
- {label: "wo geoip", opt: "--without-geoip" }
20+
- {label: "wo lmdb", opt: "--without-lmdb" }
21+
- {label: "wo ssdeep", opt: "--without-ssdeep" }
22+
- {label: "wo lua", opt: "--without-lua" }
2323
- {label: "without maxmind", opt: "--without-maxmind" }
2424
steps:
2525
- name: Setup Dependencies
@@ -46,21 +46,21 @@ jobs:
4646
runs-on: ${{ matrix.os }}
4747
strategy:
4848
matrix:
49-
os: [macos-10.15, macos-11.0]
50-
compiler: [gcc, clang]
49+
os: [macos-10.15]
50+
compiler: [clang]
5151
configure:
5252
- {label: "with parser generation", opt: "--enable-parser-generation" }
53-
- {label: "without curl", opt: "--without-curl" }
54-
- {label: "without yajl", opt: "--without-yajl" }
55-
- {label: "without geoip", opt: "--without-geoip" }
56-
- {label: "without lmdb", opt: "--without-lmdb" }
57-
- {label: "without ssdeep", opt: "--without-ssdeep" }
58-
- {label: "without lua", opt: "--without-lua" }
59-
- {label: "without maxmind", opt: "--without-maxmind" }
53+
- {label: "wo curl", opt: "--without-curl" }
54+
- {label: "wo yajl", opt: "--without-yajl" }
55+
- {label: "wo geoip", opt: "--without-geoip" }
56+
- {label: "wo lmdb", opt: "--without-lmdb" }
57+
- {label: "wo ssdeep", opt: "--without-ssdeep" }
58+
- {label: "wo lua", opt: "--without-lua" }
59+
- {label: "wo maxmind", opt: "--without-maxmind" }
6060
steps:
6161
- name: Setup Dependencies
6262
run: |
63-
brew install autoconf automake cppcheck lmdb libyaml lua ssdeep libmaxminddb
63+
brew install autoconf automake cppcheck lmdb libyaml lua ssdeep libmaxminddb bison
6464
- uses: actions/checkout@v2
6565
with:
6666
submodules: true
@@ -70,7 +70,7 @@ jobs:
7070
run: ./configure ${{ matrix.configure.opt }}
7171
- uses: ammaraskar/gcc-problem-matcher@master
7272
- name: make
73-
run: make -j `nproc`
73+
run: make -j `sysctl -n hw.logicalcpu`
7474
- name: check
7575
run: make check
7676
- name: check-static

0 commit comments

Comments
 (0)