ci: add debian-arm32-asan

I want to have the possibility to use asan in for etnaviv ci. As lot
devices in the my CI farm are arm32 based lets do some prep work.

I had to skip the mesa:util suite as there are some asan problems
on 32bit platform with the hash_map. Once they got sorted out we can
enable the suite again.

Signed-off-by: Christian Gmeiner <cgmeiner@igalia.com>
Reviewed-by: Eric Engestrom <eric@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23493>
This commit is contained in:
Christian Gmeiner
2023-06-07 09:42:24 +02:00
committed by Marge Bot
parent 2bb26cc01d
commit 6d510fcdc5
4 changed files with 28 additions and 2 deletions

View File

@@ -433,6 +433,19 @@ debian-arm32:
- .gitlab-ci/meson/build.sh - .gitlab-ci/meson/build.sh
- .gitlab-ci/prepare-artifacts.sh - .gitlab-ci/prepare-artifacts.sh
debian-arm32-asan:
extends:
- debian-arm32
variables:
EXTRA_OPTION: >
-D llvm=disabled
-D b_sanitize=address
-D valgrind=disabled
-D tools=dlclose-skip
ARTIFACTS_DEBUG_SYMBOLS: 1
MINIO_ARTIFACT_NAME: mesa-arm32-asan
MESON_TEST_ARGS: "--no-suite mesa:compiler --no-suite mesa:util"
debian-arm64: debian-arm64:
extends: extends:
- .meson-arm - .meson-arm

View File

@@ -18,6 +18,7 @@ apt-get install -y --no-remove \
$STABLE_EPHEMERAL \ $STABLE_EPHEMERAL \
crossbuild-essential-$arch \ crossbuild-essential-$arch \
pkgconf:$arch \ pkgconf:$arch \
libasan8:$arch \
libdrm-dev:$arch \ libdrm-dev:$arch \
libelf-dev:$arch \ libelf-dev:$arch \
libexpat1-dev:$arch \ libexpat1-dev:$arch \

View File

@@ -1,6 +1,6 @@
variables: variables:
DEBIAN_X86_64_BUILD_BASE_IMAGE: "debian/x86_64_build-base" DEBIAN_X86_64_BUILD_BASE_IMAGE: "debian/x86_64_build-base"
DEBIAN_BASE_TAG: "2023-06-08-rust-clippy" DEBIAN_BASE_TAG: "2023-06-08-asan-arm32"
DEBIAN_X86_64_BUILD_IMAGE_PATH: "debian/x86_64_build" DEBIAN_X86_64_BUILD_IMAGE_PATH: "debian/x86_64_build"
DEBIAN_BUILD_TAG: "2023-05-25-bookworm" DEBIAN_BUILD_TAG: "2023-05-25-bookworm"

View File

@@ -210,7 +210,19 @@ clang-format:
- job: debian-arm64 - job: debian-arm64
artifacts: false artifacts: false
# ARM64 testing of bare-metal boards attached to an x86 gitlab-runner system, using an asan mesa build # ARM32/64 testing of bare-metal boards attached to an x86 gitlab-runner system, using an asan mesa build
.baremetal-arm32-asan-test:
extends:
- .baremetal-test
- .use-debian/arm32_test
variables:
DEQP_RUNNER_OPTIONS: "--env LD_PRELOAD=libasan.so.8:/install/lib/libdlclose-skip.so"
MINIO_ARTIFACT_NAME: mesa-arm32-asan
needs:
- debian/arm32_test
- job: debian-arm32-asan
artifacts: false
.baremetal-arm64-asan-test: .baremetal-arm64-asan-test:
extends: extends:
- .baremetal-test - .baremetal-test