Skip to content

Commit c49383f

Browse files
authored
Merge pull request #206 from pycompression/fixarchtest
Fix aarch64 build
2 parents 8c9319c + 442967e commit c49383f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,11 @@ jobs:
116116
arch: none
117117
distro: none
118118
base_image: "--platform=linux/arm64 quay.io/pypa/manylinux2014_aarch64"
119+
# versioningit needs an accessible git repository but the container
120+
# is run as root, which is different from the repository user.
121+
# use git config to override this.
119122
run: |-
123+
git config --global --add safe.directory $PWD
120124
CFLAGS="-DNDEBUG -g0" python${{matrix.python_version}} -m pip install . pytest
121125
python${{matrix.python_version}} -m pytest tests
122126

0 commit comments

Comments
 (0)