File tree Expand file tree Collapse file tree 1 file changed +13
-10
lines changed
Expand file tree Collapse file tree 1 file changed +13
-10
lines changed Original file line number Diff line number Diff line change @@ -94,22 +94,25 @@ jobs:
9494 runs-on : " ubuntu-latest"
9595 strategy :
9696 matrix :
97- distro : [ "ubuntu_latest" ]
98- arch : ["aarch64"]
97+ python_version :
98+ - " 3.8 "
9999 steps :
100100 - uses : actions/checkout@v4
101101 with :
102102 submodules : recursive
103- - uses : uraimo/run-on-arch-action@v2.2 .0
103+ - uses : uraimo/run-on-arch-action@v2.5 .0
104104 name : Build & run test
105105 with :
106- arch : ${{ matrix.arch }}
107- distro : ${{ matrix.distro }}
108- install : |
109- apt-get update -q -y
110- apt-get install -q -y python3 python3-pip tox cmake git googletest
111- run : |
112- tox
106+ arch : none
107+ distro : none
108+ base_image : " --platform=linux/arm64 quay.io/pypa/manylinux2014_aarch64"
109+ # versioningit needs an accessible git repository but the container
110+ # is run as root, which is different from the repository user.
111+ # use git config to override this.
112+ run : |-
113+ git config --global --add safe.directory $PWD
114+ CFLAGS="-DNDEBUG -g0" python${{matrix.python_version}} -m pip install . pytest
115+ python${{matrix.python_version}} -m pytest tests
113116
114117 # Test if the python-zlib-ng conda package can be build. Which is linked
115118 # dynamically to the conda zlib-ng package.
You can’t perform that action at this time.
0 commit comments