environment: BUILD_SUBMITTER: dalligi CI: "true" CI_API_GRAPHQL_URL: https://gitlab.freedesktop.org/api/graphql CI_API_V4_URL: https://gitlab.freedesktop.org/api/v4 CI_COMMIT_AUTHOR: Simon Ser CI_COMMIT_BEFORE_SHA: 8e2e3a57ef9639f11bc1719a34e71a659841e6a5 CI_COMMIT_BRANCH: ext-screencopy-v1-ng CI_COMMIT_DESCRIPTION: |4- This is unreliable because this is first come, first served: the first capture stream decides whether or not cursors will be included. Moreover, if the output lacks hw cursor support, cursors will always be included. But it's the best we're going to get with automatic wlr_output sources (and has bug parity with wlr-screencopy-unstable-v1). CI_COMMIT_MESSAGE: | ext-image-copy-capture-v1: implement PAINT_CURSORS flag This is unreliable because this is first come, first served: the first capture stream decides whether or not cursors will be included. Moreover, if the output lacks hw cursor support, cursors will always be included. But it's the best we're going to get with automatic wlr_output sources (and has bug parity with wlr-screencopy-unstable-v1). CI_COMMIT_REF_NAME: ext-screencopy-v1-ng CI_COMMIT_REF_PROTECTED: "false" CI_COMMIT_REF_SLUG: ext-screencopy-v1-ng CI_COMMIT_SHA: 17e06b9fde14b66e64b120d8bb862f2a45f39622 CI_COMMIT_SHORT_SHA: 17e06b9f CI_COMMIT_TIMESTAMP: "2024-12-18T20:07:49+01:00" CI_COMMIT_TITLE: 'ext-image-copy-capture-v1: implement PAINT_CURSORS flag' CI_CONFIG_PATH: .gitlab-ci.yml CI_DEFAULT_BRANCH: master CI_JOB_ID: "68405054" CI_JOB_NAME: archlinux CI_JOB_NAME_SLUG: archlinux CI_JOB_STAGE: test CI_JOB_STARTED_AT: "2024-12-18T19:08:15Z" CI_JOB_URL: https://gitlab.freedesktop.org/emersion/wlroots/-/jobs/68405054 CI_NODE_TOTAL: "1" CI_OPEN_MERGE_REQUESTS: wlroots/wlroots!4545 CI_PAGES_DOMAIN: pages.freedesktop.org CI_PAGES_URL: https://emersion.pages.freedesktop.org/wlroots CI_PIPELINE_CREATED_AT: "2024-12-18T19:08:02Z" CI_PIPELINE_ID: "1332436" CI_PIPELINE_IID: "1941" CI_PIPELINE_NAME: "" CI_PIPELINE_SOURCE: push CI_PIPELINE_URL: https://gitlab.freedesktop.org/emersion/wlroots/-/pipelines/1332436 CI_PROJECT_CLASSIFICATION_LABEL: "" CI_PROJECT_DESCRIPTION: A modular Wayland compositor library CI_PROJECT_ID: "12106" CI_PROJECT_NAME: wlroots CI_PROJECT_NAMESPACE: emersion CI_PROJECT_NAMESPACE_ID: "2001" CI_PROJECT_PATH: emersion/wlroots CI_PROJECT_PATH_SLUG: emersion-wlroots CI_PROJECT_REPOSITORY_LANGUAGES: c,meson,makefile,glsl CI_PROJECT_ROOT_NAMESPACE: emersion CI_PROJECT_TITLE: wlroots CI_PROJECT_URL: https://gitlab.freedesktop.org/emersion/wlroots CI_PROJECT_VISIBILITY: public CI_REGISTRY: registry.freedesktop.org CI_REGISTRY_USER: gitlab-ci-token CI_RUNNER_DESCRIPTION: dalligi SourceHut bridge CI_RUNNER_ID: "2241" CI_RUNNER_TAGS: '["dalligi"]' CI_SERVER_FQDN: gitlab.freedesktop.org CI_SERVER_HOST: gitlab.freedesktop.org CI_SERVER_NAME: GitLab CI_SERVER_PORT: "443" CI_SERVER_PROTOCOL: https CI_SERVER_REVISION: 58dfc9c873e CI_SERVER_SHELL_SSH_HOST: gitlab.freedesktop.org CI_SERVER_SHELL_SSH_PORT: "22" CI_SERVER_URL: https://gitlab.freedesktop.org CI_SERVER_VERSION: 17.6.2 CI_SERVER_VERSION_MAJOR: "17" CI_SERVER_VERSION_MINOR: "6" CI_SERVER_VERSION_PATCH: "2" CI_TEMPLATE_REGISTRY_HOST: registry.gitlab.com GITLAB_CI: "true" GITLAB_FEATURES: "" GITLAB_USER_EMAIL: contact@emersion.fr GITLAB_USER_ID: "1798" GITLAB_USER_LOGIN: emersion GITLAB_USER_NAME: Simon Ser image: archlinux packages: - clang - lcms2 - libinput - libdisplay-info - libliftoff - libxkbcommon - mesa - meson - pixman - wayland - wayland-protocols - xcb-util-errors - xcb-util-image - xcb-util-renderutil - xcb-util-wm - xorg-xwayland - seatd - vulkan-icd-loader - vulkan-headers - glslang - hwdata sources: - https://gitlab-ci-token:glcbt-64_S6YjthcYo1eXqzctRyRA@gitlab.freedesktop.org/emersion/wlroots.git#17e06b9fde14b66e64b120d8bb862f2a45f39622 tasks: - setup: | cd wlroots CC=gcc meson setup build-gcc --fatal-meson-warnings --default-library=both -Dauto_features=enabled --prefix /usr -Db_sanitize=address,undefined CC=clang meson setup build-clang --fatal-meson-warnings -Dauto_features=enabled -Dc_std=c11 - gcc: | cd wlroots/build-gcc ninja sudo ninja install cd ../tinywl make - clang: | cd wlroots/build-clang ninja - smoke-test: | cd wlroots/build-gcc/tinywl sudo modprobe vkms udevadm settle export WLR_BACKENDS=drm export WLR_RENDERER=pixman export WLR_DRM_DEVICES=/dev/dri/by-path/platform-vkms-card export UBSAN_OPTIONS=halt_on_error=1 sudo chmod ugo+rw /dev/dri/by-path/platform-vkms-card sudo -E seatd-launch -- ./tinywl -s 'kill $PPID' || [ $? = 143 ]