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: John Lindgren CI_COMMIT_BEFORE_SHA: de574ac0988758ff0632a315bf11ddeb485355a9 CI_COMMIT_BRANCH: master CI_COMMIT_DESCRIPTION: |4- Fixes an issue with keyboard grabs not working when no XWayland windows are focused. CI_COMMIT_MESSAGE: | xwayland: set focus to XCB_POINTER_ROOT rather than XCB_NONE Fixes an issue with keyboard grabs not working when no XWayland windows are focused. CI_COMMIT_REF_NAME: master CI_COMMIT_REF_PROTECTED: "true" CI_COMMIT_REF_SLUG: master CI_COMMIT_SHA: f9199bb6d4a31f8647bdd20bfbd5b7cf38bd9f53 CI_COMMIT_SHORT_SHA: f9199bb6 CI_COMMIT_TIMESTAMP: "2024-08-01T13:19:24+00:00" CI_COMMIT_TITLE: 'xwayland: set focus to XCB_POINTER_ROOT rather than XCB_NONE' CI_CONFIG_PATH: .gitlab-ci.yml CI_DEFAULT_BRANCH: master CI_JOB_ID: "61781785" CI_JOB_NAME: archlinux CI_JOB_NAME_SLUG: archlinux CI_JOB_STAGE: test CI_JOB_STARTED_AT: "2024-08-01T13:21:09Z" CI_JOB_URL: https://gitlab.freedesktop.org/wlroots/wlroots/-/jobs/61781785 CI_NODE_TOTAL: "1" CI_PAGES_DOMAIN: pages.freedesktop.org CI_PAGES_URL: https://wlroots.pages.freedesktop.org/wlroots CI_PIPELINE_CREATED_AT: "2024-08-01T13:21:03Z" CI_PIPELINE_ID: "1238616" CI_PIPELINE_IID: "1294" CI_PIPELINE_NAME: "" CI_PIPELINE_SOURCE: push CI_PIPELINE_URL: https://gitlab.freedesktop.org/wlroots/wlroots/-/pipelines/1238616 CI_PROJECT_CLASSIFICATION_LABEL: "" CI_PROJECT_DESCRIPTION: A modular Wayland compositor library CI_PROJECT_ID: "12103" CI_PROJECT_NAME: wlroots CI_PROJECT_NAMESPACE: wlroots CI_PROJECT_NAMESPACE_ID: "9759" CI_PROJECT_PATH: wlroots/wlroots CI_PROJECT_PATH_SLUG: wlroots-wlroots CI_PROJECT_REPOSITORY_LANGUAGES: c,meson,glsl,makefile,shell CI_PROJECT_ROOT_NAMESPACE: wlroots CI_PROJECT_TITLE: wlroots CI_PROJECT_URL: https://gitlab.freedesktop.org/wlroots/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: b30193cc04c 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.2.1 CI_SERVER_VERSION_MAJOR: "17" CI_SERVER_VERSION_MINOR: "2" CI_SERVER_VERSION_PATCH: "1" CI_TEMPLATE_REGISTRY_HOST: registry.gitlab.com GITLAB_CI: "true" GITLAB_FEATURES: "" GITLAB_USER_EMAIL: vyivel@eclair.cafe GITLAB_USER_ID: "35335" GITLAB_USER_LOGIN: vyivel GITLAB_USER_NAME: Kirill Primak 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_vMceVmA1pctzg4SyzhNt@gitlab.freedesktop.org/wlroots/wlroots.git#f9199bb6d4a31f8647bdd20bfbd5b7cf38bd9f53 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 ]