diff options
author | Corentin Noël <corentin.noel@collabora.com> | 2023-05-31 19:08:17 +0200 |
---|---|---|
committer | Corentin Noël <corentin.noel@collabora.com> | 2023-06-12 12:17:05 +0200 |
commit | 58853310c3a726b0567c88b7619f477be841c145 (patch) | |
tree | b6d998885a51682b0f9ffa776453e98278580b8a | |
parent | 2ce131f8a02fa6d93fd03984b957bba0baa4ae24 (diff) |
ci: Build with drm/msm and all profilers
Enable the options to make sure that the code is building.
Signed-off-by: Corentin Noël <corentin.noel@collabora.com>
Part-of: <https://gitlab.freedesktop.org/virgl/virglrenderer/-/merge_requests/1148>
-rw-r--r-- | .gitlab-ci.yml | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3b9acc8..83c6b57 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -104,6 +104,75 @@ debian/x86_64_build: when: on_success - when: never +debian/x86_64_build_msm: + stage: build + extends: + - .set-image-base-tag + variables: + MESA_IMAGE_PATH: ${DEBIAN_X86_64_BUILD_IMAGE_PATH} + MESA_IMAGE_TAG: ${DEBIAN_BUILD_TAG} + MINIO_ARTIFACT_NAME: virgl-amd64 + EXTRA_OPTION: > + -D drm=enabled -D drm-msm-experimental=true + script: + - .gitlab-ci/meson/build.sh + artifacts: + name: "virgl_${CI_JOB_NAME}" + when: always + paths: + - install/ + - results/ + rules: + - changes: + - src/drm/**/* + when: on_success + - if: *is-scheduled-pipeline + when: on_success + - if: *is-post-merge + when: never + - if: *is-forked-branch-or-pre-merge-not-for-marge + when: manual + - if: *is-pre-merge-for-marge + when: on_success + - when: never + +debian/x86_64_build_tracing: + stage: build + extends: + - .set-image-base-tag + variables: + MESA_IMAGE_PATH: ${DEBIAN_X86_64_BUILD_IMAGE_PATH} + MESA_IMAGE_TAG: ${DEBIAN_BUILD_TAG} + MINIO_ARTIFACT_NAME: virgl-amd64 + WRAP_DEBUG: default + DEBIAN_FRONTEND: noninteractive + script: + - apt-get update && apt-get install -y libsysprof-4-dev + - TRACING_BACKEND=percetto .gitlab-ci/meson/build.sh + - TRACING_BACKEND=perfetto .gitlab-ci/meson/build.sh + - TRACING_BACKEND=sysprof .gitlab-ci/meson/build.sh + - TRACING_BACKEND=stderr .gitlab-ci/meson/build.sh + artifacts: + name: "virgl_${CI_JOB_NAME}" + when: always + paths: + - install/ + - results/ + rules: + - changes: + - src/virgl_util.h + - src/virgl_util.c + when: on_success + - if: *is-scheduled-pipeline + when: on_success + - if: *is-post-merge + when: never + - if: *is-forked-branch-or-pre-merge-not-for-marge + when: manual + - if: *is-pre-merge-for-marge + when: on_success + - when: never + # FIXME: Mesa's `debian/x86_build-mingw` job is turned off until gets # fixed on Debian 12. Disable here as a side effect. .debian/mingw32-x86_64: |