diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 338a177c..1bbe2c9a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -100,7 +100,7 @@ jobs: uses: codecov/codecov-action@v1 test-arch: - if: startsWith(github.ref, 'refs/tags') || github.ref == 'refs/heads/develop' || github.ref == 'refs/heads/main' +# if: startsWith(github.ref, 'refs/tags') || github.ref == 'refs/heads/develop' || github.ref == 'refs/heads/main' runs-on: "ubuntu-latest" strategy: matrix: @@ -117,8 +117,13 @@ jobs: distro: none base_image: "--platform=linux/arm64 quay.io/pypa/manylinux2014_aarch64" run: |- - CFLAGS="-DNDEBUG -g0" python${{matrix.python_version}} -m pip install . pytest - python${{matrix.python_version}} -m pytest tests + yum install -y devtoolset-10-libasan-devel.aarch64 + python${{ matrix.python_version }} -m pip install pytest + CFLAGS="-g0 -DNDEBUG" python${{ matrix.python_version }} -m pip install . + python${{ matrix.python_version }} -m pytest tests + CFLAGS="-lasan -fsanitize=address -fno-omit-frame-pointer" python${{ matrix.python_version }} -m pip install . + PYTHONDEVMODE=1 PYTHONMALLOC=malloc LD_PRELOAD=$(gcc -print-file-name=libasan.so) python${{ matrix.python_version }} -m pytest tests + # Test if the python-isal conda package can be build. Which is linked # dynamically to the conda isa-l package.