Skip to content

Commit eb7e2b8

Browse files
authored
Merge pull request #3319 from airween/v3/osxcifix
fix: build library on OSX without GeoIP brew package
2 parents d9101a4 + a332567 commit eb7e2b8

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/ci.yml

+10-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,6 @@ jobs:
102102
lua \
103103
libmaxminddb \
104104
libxml2 \
105-
geoip \
106105
ssdeep \
107106
pcre \
108107
bison \
@@ -111,6 +110,16 @@ jobs:
111110
with:
112111
submodules: true
113112
fetch-depth: 0
113+
- name: Build GeoIP
114+
run: |
115+
git clone --depth 1 --no-checkout https://github.com/maxmind/geoip-api-c.git
116+
cd geoip-api-c
117+
git fetch --tags
118+
# Check out the last release, v1.6.12
119+
git checkout 4b526e7331ca1d692b74a0509ddcc725622ed31a
120+
autoreconf --install
121+
./configure --disable-dependency-tracking --disable-silent-rules --prefix=/opt/homebrew
122+
make install
114123
- name: build.sh
115124
run: ./build.sh
116125
- name: configure

0 commit comments

Comments
 (0)