Commit Graph

68 Commits

Author SHA1 Message Date
Enrico Weigelt, metux IT consult
a897fecfcf .github: scripts: git-smart-checkout.sh
pull submodules if existing

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-15 10:25:25 +01:00
Enrico Weigelt, metux IT consult
0292d41748 .github: enable -Werror on mingw32
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-12 19:41:55 +01:00
Enrico Weigelt, metux IT consult
8e872d69be .github: temporary disable job purge job
It's failing too often due rate limits etc.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-12 16:31:28 +01:00
Enrico Weigelt, metux IT consult
005993d888 .github: enable -Werror on FreeBSD
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-12 15:27:14 +01:00
Enrico Weigelt, metux IT consult
777baa343b .github: enable -Werror on Dragonfly BSD
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-12 14:45:41 +01:00
Enrico Weigelt, metux IT consult
27262cb9f4 .github: update tidy-up branch list
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-11 20:47:16 +01:00
Enrico Weigelt, metux IT consult
fce17e9308 .github: *BSD: silence warning on duplicate typedef
>  In file included from ../glx/glxdricommon.c:35:
>  /usr/local/include/GL/internal/dri_interface.h:445:26: warning: redefinition of typedef 'GLsync' is a C11 feature [-Wtypedef-redefinition]
>    445 | typedef struct __GLsync *GLsync;
>        |                          ^
>  /usr/local/include/GL/glext.h:1367:26: note: previous definition is here
>   1367 | typedef struct __GLsync *GLsync;
>        |                          ^

Since it's coming from MESA, the only thing we can do here is
suppressing this warning explicitly.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-11 16:31:36 +01:00
Enrico Weigelt, metux IT consult
6d41b43829 .github: switch dependencies to our new mirrors
Our new automatic mirrors have a special prefix, so we need to
fixup the URLs.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-11 14:47:20 +01:00
Enrico Weigelt, metux IT consult
ceeabba033 .github: nightly purge of old pipelines from certain branches
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-10 20:06:00 +01:00
Enrico Weigelt, metux IT consult
4895dec748 .github: use our own mirrors instead of freedesktop.org
Since gitlab.freedesktop.org isn't very reliable, better use our
own mirrors instead.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-10 19:55:35 +01:00
Enrico Weigelt, metux IT consult
bc5cb4e8f3 .github: move CI scripts from .gitlab-ci/ to .github/scripts
We're not using gitlab anymore (and the CI config there is totally
unmaintained), so better move the scripts to the right place.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-10 19:15:35 +01:00
Enrico Weigelt, metux IT consult
0b2a21722b .github: macos: split off own version of install-prereq.sh
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-10 16:23:53 +01:00
Enrico Weigelt, metux IT consult
d8afe67983 .github: fix artifact cache key on mingw32
We're not calling install-prereq.sh, so no need to have it's
hash in the cache key.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-10 15:46:32 +01:00
Enrico Weigelt, metux IT consult
1c3b0da356 .github: build w/ -Werror on Ubuntu
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-09 21:06:57 +01:00
JSOwens
d4e67aa773 .github: add a check for pull request commits to be signed off
Added a workflow to check the commit messages of a PR to make sure each is
signed off by the author. A repo token is required, here named SECRET_TOKEN,
which has access to read and write PR comments.

Signed-off-by: JSOwens <josephs.owens@gmail.com>
2025-11-27 19:27:15 +01:00
Chase
644d151173 .github: install-prereq.sh: move xproto to meson
Signed-off-by: Chase <chinkle3@illinois.edu>
2025-11-27 19:04:19 +01:00
Enrico Weigelt, metux IT consult
a1f3edddf4 meson.build: enable -fno-common on all platforms
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-11-27 12:07:29 +01:00
Enrico Weigelt, metux IT consult
c696329b93 include: misc: drop unused sign() macro
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-11-27 12:05:29 +01:00
Enrico Weigelt, metux IT consult
8c93d4e97e .github: build the xf86-video-geode driver
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-11-20 16:35:06 +01:00
Enrico Weigelt, metux IT consult
26cc922cd3 .github: build the xf86-video-apm driver
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-11-20 16:03:40 +01:00
Enrico Weigelt, metux IT consult
99a9a67788 .github: also build dummy driver
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-11-20 14:19:12 +01:00
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