summaryrefslogtreecommitdiff
path: root/.gitlab-ci
Commit message (Collapse)AuthorAgeFilesLines
* CI: fix yaml-to-junit-xml scriptPierre Le Marre2023-04-271-2/+12
| | | | Additionally, report successful tests count.
* remove a special rule for IBM Spacesaver boards that is no longer neededBenno Schulenberg2022-07-081-9/+0
| | | | | | | | | | | | | | | | | Fourteen years ago, commit b69a8bdff0 added a rule for redefining the <NMLK> key for IBM Spacesaver keyboards in order to have `Num_Lock` on both levels. This was needed to overwrite `Pointer_EnableKeys` that was on the second level by default, which interfered with how the Spacesaver NumLock key worked (https://bugs.freedesktop.org/16767). Two years later, commit 1bc01a5eaa removed the default assignment of `Pointer_EnableKeys` to the second level of <NMLK>, thus making the special rule for IBM Spacesavers redundant. (There are still a few vendor files that assign `Pointer_EnableKeys`. These assignments should probably be removed too.) Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
* keycodes: rename <MDSW> to <LVL5>, to show what its intended function isBenno Schulenberg2022-06-081-1/+2
| | | | | | Keep <MDSW> as an alias, for private user layouts that possibly use it. Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
* symbols: move the special Japanese and Korean keys from 'inet' to 'pc'Benno Schulenberg2022-05-241-11/+0
| | | | | | | | | | | | Having them in symbols/pc instead of in symbols/inet(evdev) means that any assignments that a custom layout makes to these keys will not get overridden by the standard +inet(evdev) rule. This fixes issue #50. Reported-by: Alex-Daniel Jakimenko Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
* CI: add the Pinephone keyboard to the inet template, so tests will passBenno Schulenberg2022-04-261-0/+18
|
* CI: make the evdev template match the current state of affairsBenno Schulenberg2022-04-101-16/+12
|
* keycodes: remove an obsolete and thus puzzling commentBenno Schulenberg2022-04-101-10/+2
| | | | | | | | | | | | Commit 710752e4be from fourteen years ago repurposed keycode 97 (until then used for "Romaji") for AB11, freeing up keycode 211 for <I211>, but forgot to remove this comment. (Also add a space, to line up the Japanese codes consistently.) Also, adjust the generation script to not recreate the comment. Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
* ci: use argparse for the yaml converter scriptPeter Hutterer2021-05-191-2/+15
|
* gitlab CI: parse through the YAML file to list failed keymap compilationsPeter Hutterer2021-04-231-0/+59
| | | | | | | | | | libxkbcommon (commit 1cae25005211) now provides the output of the layout tester format in YAML, with successful compilations on stdout and failed ones on stderr. This makes it easy to collect the results, extract and print the failures with yq but also parse the yaml file and leave a JUnit XML in place that will then show up as result on a MR page. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* gitlab CI: apply the typo fix to the inet templatePeter Hutterer2021-04-161-1/+1
| | | | | | | It causes the CI job to fail because diff now finds something that changed. See d1a7abd34f79cb0ad27c4861afd98d5b92723be0 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* Move the evdev.in and inet.in template file to the gitlab-ci directoryPeter Hutterer2021-04-124-5/+2101
| | | | | | | | These don't need to sit in the main source tree where we need exceptions for them in the build system. They are only called from special jobs in the CI pipelines, so let's move this to the CI directory. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* gitlab CI: check for new XF86 keysyms in the xorgproto repoPeter Hutterer2021-03-241-0/+161
| | | | | | | | | | | | | | | | | | | xorgproto 2021.2 and later has a recognizable pattern for adding new keysyms to XF86keysym.h based on the Linux kernel input-event-codes.h. Use this to detect any keysyms that are present in the header file but not yet in symbols/inet. This is merely a gitlab CI job as we only have to do an actual update once every few months or so. A git diff is sufficient here too, it contains all the information we will need to understand what is missing from the updated file. We check xorgproto master because that gives us some heads-up on what will come. There is a minor chance that we are mapping keycodes that change before the release but it's minor and fixable anyway. Requires: https://gitlab.freedesktop.org/xorg/proto/xorgproto/-/merge_requests/23 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* gitlab CI: format the python script with blackPeter Hutterer2021-02-161-43/+67
| | | | | | | While I'm not a huge fan of the code style it enforces, at least it's consistent this way. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* gitlab CI: generate the evdev keycodes (v2)Peter Hutterer2021-02-161-0/+212
| | | | | | | | | | | | | | | | | | | | | | | | | | The various <I123> keycodes in keycodes/evdev simply match the kernel defines + offset 8. There is no need to maintain these manually, let's generate them instead. Keycodes update rarely and irregularly (on average maybe every second kernel release) so there's no need to integrate this into the build itself, let's add it to our CI instead. The script here uses python-libevdev which has a list of the various key codes and their names (compile-time built-in in libevdev itself so it's advisable that a recent libevdev is used). The script is hooked up to a custom job that will fail if there are key codes with a #define in the kernel that are not listed in our evdev file. We allow that job to fail, it's not that urgent to block any merge requests. Changes to v1, see commit 5dc9b48c and its revert 8fa3b314: - Parse the template for existing defines and alias those keys. e.g. alias <I121> = <MUTE>; - Kernel v5.10 keycodes are now included in the file - The script defaults to the correct template/keycode file, no commandline arguments needed for the default run. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* Revert "gitlab CI: generate the evdev keycodes"Peter Hutterer2021-01-211-183/+0
| | | | | | | | | | | | | | | Some of the generated keys overwrote existing keys, causing warnings and nonfunctional keys. For example: xkbcommon: WARNING: Multiple names for keycode 121; Using <I121>, ignoring <MUTE> Revert this commit, we're too close to a release and it's better to wait until the next one to give this approach more time to settle. Fixes #247 This reverts commit 5dc9b48c9b31de9f9780887a79ded3b1e52591d9. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* gitlab CI: generate the evdev keycodesPeter Hutterer2021-01-181-0/+183
The various <I123> keycodes in keycodes/evdev simply match the kernel defines + offset 8. There is no need to maintain these manually, let's generate them instead. Keycodes update rarely and irregularly (on average maybe every second kernel release) so there's no need to integrate this into the build itself, let's add it to our CI instead. The script here uses python-libevdev which has a list of the various key codes and their names (compile-time built-in in libevdev itself so it's advisable that a recent libevdev is used). The script is hooked up to a custom job that will fail if there are key codes with a #define in the kernel that are not listed in our evdev file. We allow that job to fail, it's not that urgent to prevent any other pipelines. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>