From e7e3d1dc52fc219d637b236705392b1c09bf0cda Mon Sep 17 00:00:00 2001 From: Gregory Oschwald Date: Thu, 14 Nov 2024 10:55:32 -0800 Subject: [PATCH] Install libmaxminddb-dev and libxml2 with apt --- .github/workflows/test.yml | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a3c5d20..26735f3 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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: |