Skip to content

Commit

Permalink
Install libmaxminddb-dev and libxml2 with apt
Browse files Browse the repository at this point in the history
  • Loading branch information
oschwald committed Nov 14, 2024
1 parent 7297c4f commit e7e3d1d
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,10 @@ jobs:
with:
submodules: true

- name: Install libmaxminddb
run: |
mkdir -p "$HOME/libmaxminddb"
git clone --recursive https://github.com/maxmind/libmaxminddb.git
cd libmaxminddb
./bootstrap
./configure --prefix="$HOME/libmaxminddb"
make
make install
- name: Install dependencies
# We need libxml2 due ot a bug in setup-php with 8.4. It can probalby
# be removed after 8.4 is released.
run: sudo apt-get update && sudo apt-get install libmaxminddb-dev libxml2

- name: Build extension
run: |
Expand Down

0 comments on commit e7e3d1d

Please sign in to comment.