We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7297c4f commit 2e6124cCopy full SHA for 2e6124c
.github/workflows/test.yml
@@ -31,20 +31,12 @@ jobs:
31
with:
32
submodules: true
33
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
+ - name: Install dependencies
+ run: sudo apt-get update && sudo apt-get install -y libmaxminddb-dev
+
43
44
- name: Build extension
45
run: |
46
- export CFLAGS="-L$HOME/libmaxminddb/lib"
47
- export CPPFLAGS="-I$HOME/libmaxminddb/include"
48
cd ext
49
phpize
50
./configure --with-maxminddb --enable-maxminddb-debug
0 commit comments