File tree Expand file tree Collapse file tree 1 file changed +8
-9
lines changed
Expand file tree Collapse file tree 1 file changed +8
-9
lines changed Original file line number Diff line number Diff line change 1818
1919 name : Python ${{ matrix.python-version }} on ${{ matrix.platform }}
2020 runs-on : ${{ matrix.platform }}
21+ env :
22+ MAXMINDDB_REQUIRE_EXTENSION : 1
23+ MAXMINDDB_USE_SYSTEM_LIBMAXMINDDB : 1
24+ MM_FORCE_EXT_TESTS : 1
2125
2226 steps :
2327 - name : Checkout
@@ -40,19 +44,14 @@ jobs:
4044 run : sudo apt install libmaxminddb-dev
4145 if : matrix.platform == 'ubuntu-latest'
4246
47+ - name : Install libmaxminddb
48+ run : brew install libmaxminddb
49+ if : matrix.platform == 'macos-latest'
50+
4351 - name : Build with Werror and Wall
4452 run : python setup.py build
4553 env :
4654 CFLAGS : " -Werror -Wall -Wextra"
47- MAXMINDDB_REQUIRE_EXTENSION : 1
48-
49- - name : Install libmaxminddb
50- run : brew install libmaxminddb
51- if : matrix.platform == 'macos-latest'
5255
5356 - name : Test with tox (system libmaxminddb)
5457 run : tox
55- env :
56- MAXMINDDB_REQUIRE_EXTENSION : 1
57- MAXMINDDB_USE_SYSTEM_LIBMAXMINDDB : 1
58- MM_FORCE_EXT_TESTS : 1
You can’t perform that action at this time.
0 commit comments