Skip to content

Commit 2e6124c

Browse files
committed
Install libmaxminddb-dev with apt
1 parent 7297c4f commit 2e6124c

File tree

1 file changed

+3
-11
lines changed

1 file changed

+3
-11
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -31,20 +31,12 @@ jobs:
3131
with:
3232
submodules: true
3333

34-
- name: Install libmaxminddb
35-
run: |
36-
mkdir -p "$HOME/libmaxminddb"
37-
git clone --recursive https://github.com/maxmind/libmaxminddb.git
38-
cd libmaxminddb
39-
./bootstrap
40-
./configure --prefix="$HOME/libmaxminddb"
41-
make
42-
make install
34+
- name: Install dependencies
35+
run: sudo apt-get update && sudo apt-get install -y libmaxminddb-dev
36+
4337

4438
- name: Build extension
4539
run: |
46-
export CFLAGS="-L$HOME/libmaxminddb/lib"
47-
export CPPFLAGS="-I$HOME/libmaxminddb/include"
4840
cd ext
4941
phpize
5042
./configure --with-maxminddb --enable-maxminddb-debug

0 commit comments

Comments
 (0)