Commit Graph

46 Commits

Author SHA1 Message Date
Enrico Weigelt, metux IT consult
369f9a8b16 .github: builder-xserver: change meson build dir
Using the same meson build subdirectory that MPBT is using.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-02-17 11:46:40 +01:00
Enrico Weigelt, metux IT consult
1d27e2878a .github: build drivers against xorg-sdk without actual Xserver compile
Use the new xorg-sdk build type instead of building a complete Xserver,
to compile our drivers against.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-02-13 16:57:14 +01:00
Enrico Weigelt, metux IT consult
ce0729d9d3 .github: cygwin: use alternative mirrors
The primary one - mirrors.kernel.org - is down again, so our builds
are breaking. Using a list of alternative mirrors instead.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-02-12 12:27:13 +01:00
Enrico Weigelt, metux IT consult
27a110c1b8 .github: tidy-up-auto: clean old workflows in release branches
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-02-10 18:56:34 +01:00
Enrico Weigelt, metux IT consult
8cbf96e7b4 .github: fix title of commit signoff check
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-02-03 15:25:58 +01:00
Enrico Weigelt, metux IT consult
86a0ae295a .github: move signed-off check into main xserver build workflow
Reduce the number of total workflows, so the list isn't so crowded.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Signed-off-by: artist <artist@artixlinux.org>
2025-12-22 23:16:14 +01:00
Enrico Weigelt, metux IT consult
32050edf76 .github: cygwin: skip setup signature check
Cygwin currently has some mirror problem: it's missing the signature file
for the setup program, thus our build job is failing.

https://github.com/cygwin/cygwin-install-action/issues/39

Temporary workaround: just skip the signature check.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-22 13:34:44 +01:00
Enrico Weigelt, metux IT consult
2ada6f5178 .github: downgrade vmactions/dragonflybsd-vm to 1.1.4
Latest vmactions/dragonflybsd-vm release (1.1.4) broke several things,
eg. not chdir'ing into the working tree.

For the time being, it's better to go back to 1.1.4.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-22 13:20:28 +01:00
Enrico Weigelt, metux IT consult
32210c1990 .github: downgrade vmactions/netbsd-vm to 1.2.3
Latest vmactions/netbsd-vm release (1.2.4) broke several things,
eg. not chdir'ing into the working tree and NetBSD became *extremely*
slow (5mins job now slowed down to hours).

For the time being, it's better to just go back to 1.2.3.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-22 13:17:45 +01:00
b-aaz
b4f0ee1b59 Added Cygwin builds to CI.
Bringing back Cygwin support!
This will add Cygwin builds on windows-latest in our CI.

Signed-off-by: b-aaz <b-aazbsd@proton.me>
2025-12-21 12:59:03 +01:00
Enrico Weigelt, metux IT consult
3fece7d7a6 .gitub: add NetBSD 10.1 build
Adding NetBSD 10.1 build to our CI pipelines.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-15 12:15:12 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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