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.
2 parents e7752d3 + d6da775 commit b593356Copy full SHA for b593356
.github/workflows/test-libmaxminddb.yml
@@ -48,10 +48,16 @@ jobs:
48
run: brew install libmaxminddb
49
if: matrix.platform == 'macos-latest'
50
51
+ - name: "Work around macos arm64 homebrew directory changes"
52
+ if: runner.os == 'macOS' && runner.arch == 'ARM64'
53
+ run: |
54
+ echo "CFLAGS=-I/opt/homebrew/include" >> "$GITHUB_ENV"
55
+ echo "LDFLAGS=-L/opt/homebrew/lib" >> "$GITHUB_ENV"
56
+
57
- name: Build with Werror and Wall
58
run: python setup.py build
59
env:
- CFLAGS: "-Werror -Wall -Wextra"
60
+ CFLAGS: "${{ env.CFLAGS }} -Werror -Wall -Wextra"
61
62
- name: Test with tox (system libmaxminddb)
63
run: tox
0 commit comments