Commit Graph

47 Commits

Author SHA1 Message Date
stefan11111
7f7462cb14 CI: build xf86-input-{keyboard,mouse} in CI
These drivers build on linux, so we should test them.

Signed-off-by: stefan11111 <stefan11111@shitposting.expert>
2025-10-30 09:51:20 +01:00
stefan11111
7e8d887085 CI: Build Xfbdev on linux CI, and only on linux CI
Signed-off-by: stefan11111 <stefan11111@shitposting.expert>
2025-10-21 14:13:21 +02:00
Enrico Weigelt, metux IT consult
41d2eae91f .github: use latest driver releases
Use the latest driver release tags for CI build.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-09-24 17:33:40 +02:00
b-aaz
1271a098e6 .github: Added DragonFlyBSD to CI.
Added DragonFlyBSD to CI, based on the FreeBSD build.

Signed-off-by: b-aaz <b-aazbsd@proton.me>
2025-09-15 16:24:07 +02:00
Enrico Weigelt, metux IT consult
cf50d3b37b .github: purge workflows on deleted branches
No need to keep workflows on already deleted branches, so purge them.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-09-15 14:08:09 +02:00
Enrico Weigelt, metux IT consult
f8973ffc2e .github: use our own mirrors of build dependencies
f.d.o is failing too often in recent times, so switching to our
own mirrors at github.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-09-15 11:13:22 +02:00
Enrico Weigelt, metux IT consult
4e842b2382 ci: fix freetype2 URL
savannah doesn't seem to work anymore, so use f.d.o

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-09-10 10:14:34 +02:00
Enrico Weigelt, metux IT consult
904acca6c8 .github: win32: fix pulling libxcb-render-util and libxcb-keysyms
Their latest releases have still configured wrong submodule URLs,
so we need to use master here.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-09-05 13:49:45 +02:00
Enrico Weigelt, metux IT consult
aa4fb3584c .github: tidy-up-auto: keep less minimum runs
reduce the number of minimum runs to be left to 2.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-09-02 15:03:23 +02:00
Enrico Weigelt, metux IT consult
17827b4667 .github: ubuntu: drop xtrans dependency
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-09-02 13:33:36 +02:00
Enrico Weigelt, metux IT consult
ebeba052b5 .github: fix MacOS build
MacOS build suddenly missing xvfb-run, which did work up until few hours ago.
Therefore, make a quick workaround, until the situation is clearly resolved.

The only impact is that some XTS tests (which are ignored on MacOS anyways)
might not work properly.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-08-28 23:26:12 +02:00
Enrico Weigelt, metux IT consult
a43941be91 .github: make release message job depend on builds
Make sure the release message won't be created when build jobs on the
release tag didn't succeed.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-08-28 12:56:32 +02:00
Enrico Weigelt, metux IT consult
c78d68af05 .github: don't ignore failing tests anymore
Now that the test suite has been fixed to work on the CI, we no longer
need (and should) ignore broken test runs.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-08-28 12:06:32 +02:00
Enrico Weigelt, metux IT consult
1115ac52ac test: allow skipping tests on Xephyr with GLES
The GLES tests need an actual GPU (/dev/dri/* device), which is not available
within github CI runners, so we need to skip those when running there.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-08-28 11:48:02 +02:00
Enrico Weigelt, metux IT consult
dad67772fb .github: ubuntu: tests: enforce using llvmpipe
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-08-28 11:19:20 +02:00
Enrico Weigelt, metux IT consult
825e908d54 .github: fix tetexec.cfg creation
We need to run the Xts build inside Xvfb, because it needs a running
Xserver for creating tetexec.cfg.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-08-27 18:53:26 +02:00
Enrico Weigelt, metux IT consult
e1e10bd9c2 .github: update piglit version
Update piglit version used within the test stage to current master.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-08-27 12:50:24 +02:00
Enrico Weigelt, metux IT consult
a77ae86800 .github: catch piglit results as artifacts
Also store the piglit results into the build artifacts, so we can now
easily look at them later.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-08-27 12:47:36 +02:00
Enrico Weigelt, metux IT consult
a8de19aca3 .github: use a smarter cloning script
Several sites we need to clone our dependencies from (eg. freedesktop.org)
have pretty unreliable servers, so our CI jobs often fail just because
of temporary clone failure.

Therefore adding a separate cloning script, which is more clever with automatic
retries, but it also tries to keep the traffic low (eg. trying shallow clones
if possible) and automatically detecting whether we're pulling a ref or a
direct commit.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-08-27 11:17:14 +02:00
Enrico Weigelt, metux IT consult
6b7728bf7b .github: win32: several retries on git clones
The mingw32 build job often fails due frequent temporary problems on
cloning vom savannah. Retry several times, hoping to fix it.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-08-26 12:47:36 +02:00
Enrico Weigelt, metux IT consult
fd3eaf69a1 .github: notify on merge conflicts in PRs
Add a pipeline that's checking for and notifying on merge conflicts
within open pull requests. It's triggered whenever one of the baseline
branches (eg. master, maint-*, etc) are pushed.

Unfortunately, we don't have any way for rate limiting within a single
PR yet, so on a day with lots of merges, it could become a bit spammy.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-08-18 10:51:09 +02:00
Enrico Weigelt, metux IT consult
8ad4b6a309 .github: freebsd: install libudev-devd
Allow building with udev features, eg. XORG_PLATFORM_BUS.
Using libudev-devd, which provides a libudev api while speaking to devd.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-08-04 14:46:54 +02:00
Enrico Weigelt, metux IT consult
8e83caecde .github: mingw: force enable some more Xservers
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-08-04 10:59:52 +02:00
Enrico Weigelt, metux IT consult
dc4ea884b3 .github: add FreeBSD build
Add building the Xserver in a FreeBSD 14.3 VM.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-08-01 17:42:24 +02:00
Enrico Weigelt, metux IT consult
bfebe14527 .github: add windows / mingw build
add CI build on MingW / Windows.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-07-31 17:49:24 +02:00
Enrico Weigelt, metux IT consult
0c261e0104 .github: fix intel driver repo url
Should not have `.git` suffix.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-07-25 17:14:25 +02:00
Enrico Weigelt, metux IT consult
a5bcefbb90 .github: delete old workflows
Add nightly cron job for automatically cleaning up old workflow runs.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-07-25 13:32:25 +02:00
probonopd
8c87190998 Remove libselinux1-dev
Should hopefully build without it; if not, we should fix that
2025-07-23 14:23:12 +02:00
Mike Gelfand
d46e9acd6f .github: bump xts to current master
After the recent fixes, no patching it required to build on Mac.

Signed-off-by: Mike Gelfand <mikedld@mikedld.com>
2025-07-22 11:07:43 +02:00
Enrico Weigelt, metux IT consult
d6225de192 .gitlab: merge release into xserver-build workflow
Not neccessary to have entirely separate workflow for it - that's
just spamming the workflow list.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-07-11 17:35:46 +02:00
Enrico Weigelt, metux IT consult
c5d5e8908d .github: drop obsolete xwayland dependencies
Since Xwayland is long gone, we don't need to install it's build-time
dependencies anymore.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-07-09 14:09:01 +02:00
Enrico Weigelt, metux IT consult
939ba0803c .github: add workflow for github releases
when tag xlibre-xserver-* is pushed, automatically create a github release.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-07-09 13:57:53 +02:00
Enrico Weigelt, metux IT consult
c91ff8308f .github: use last known good revision of piglit
Just using current master is too unstable and currently breaking tests.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-07-07 13:20:40 +02:00
Enrico Weigelt, metux IT consult
7a56f5513d .github: use last known good revision of XTS
Just using current master is too unstable and currently breaking
MacOS build.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-07-07 13:20:40 +02:00
Enrico Weigelt, metux IT consult
2aa982b9a8 .github: util.sh: allow explicit commit on clone_source
Add 4th parameter to clone_source() helper for checking out specific commit.
It will clone the given branch (but with full depth) and then checkout
the given commit.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-07-07 13:20:40 +02:00
Enrico Weigelt, metux IT consult
ccf9787bd6 .github: add building mouse driver
xf86-input-mouse is now supported Linux again, so add it to the build.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-30 19:22:01 +02:00
Enrico Weigelt, metux IT consult
d441e4783e .github: 01-bug-report: use 25.0.0.X instead of listing all minor releases
Listing all patchlevels in the ticket form would quickly explode it.

Users are expected to always run the latest patchlevel (4th digit), because
they're only receiving urgent bug and security fixes, not getting anything new,
that could break other things.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-30 12:38:51 +02:00
Collin
949e4e4fa0 Update build-xserver.yml to have correct permissions to resolve CodeQL alert
https://github.com/HaplessIdiot/xserver/security/code-scanning/16 Adds permissions to build in read only to support ubuntu package standards.
2025-06-30 12:25:18 +02:00
Mike Gelfand
9ab598e2b2 .github: add comments explaning the reasons behind xts patching
Signed-off-by: Mike Gelfand <mikedld@mikedld.com>
2025-06-27 17:07:42 +02:00
Mike Gelfand
f40afc8983 .github: .gitlab-ci: add macos (xquartz) build job
Signed-off-by: Mike Gelfand <mikedld@mikedld.com>
2025-06-27 17:07:42 +02:00
callmetango
87c8520ba3 .github: Add new issue forms
Add the following forms for issue creation:

* Bug report
* Feature request
* Code cleanup
* Documentation update
* Organizational task

* add issue type selection page on "New Issue" call
* mention Github Discussions and the mailing list where appropriate

Fixes #257

Signed-off-by: callmetango <callmetango@users.noreply.github.com>
2025-06-27 13:56:00 +02:00
Mike Gelfand
5ed2865bdd .github: don't override env vars set externally
Helpful for CI builds where we could be setting different paths on
different runners (due to OS or something else).

Signed-off-by: Mike Gelfand <mikedld@mikedld.com>
2025-06-27 13:45:11 +02:00
Mike Gelfand
bc8518f8f8 .github: drop sudo for prerequisites builds
Files aren't being installed into privileged directories as part of the
build but instead into $X11_PREFIX which resides in current user's home
directory.

Change the cache key to avoid reusing old cache entries, which would
lead to permission errors.

Signed-off-by: Mike Gelfand <mikedld@mikedld.com>
2025-06-27 13:34:40 +02:00
Mike Gelfand
705d1ce679 .github: export MACHINE the right way
Otherwise, paths constructed on "build xserver sdk" step aren't valid.

Signed-off-by: Mike Gelfand <mikedld@mikedld.com>
2025-06-27 13:13:54 +02:00
Enrico Weigelt, metux IT consult
49f5056b45 .github: run pipeline on pull requests
Also run the pipeline on pull requests, so nothing utterly broken
can easily slip in.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-17 20:33:00 +02:00
Enrico Weigelt, metux IT consult
36a24ef23c .github: drop -Dxwayland=false
Xwayland had been dropped, so no need to switch it off explicitly
anymore.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-17 20:33:00 +02:00
Enrico Weigelt, metux IT consult
fd02fc0b04 .github: workflow for building Xservers and some drivers
Add a github workflow that builds the Xservers on Linux and also
runs build-test of several common drivers against xorg sdk.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-17 19:45:34 +02:00