Commit Graph

212 Commits

Author SHA1 Message Date
Jussi Pakkanen
ca27e8cf00 Update used Qt version in macOS. 2026-05-22 12:53:41 +03:00
Jon Turney
fe2c96ba02 CI: macos: Actually pass MESON_ARGS into meson
At the moment, this purports to test unity builds on macos, but in fact
we don't.
2026-04-28 08:18:09 -07:00
Dylan Baker
678f450e10 CI/windows: Don't run on changes to non-windows CI yaml files 2026-04-28 11:45:13 +02:00
Dylan Baker
a5129b150e CI: fix macos job trying to upgrade brew managed pip with pip managed pip 2026-04-28 11:45:13 +02:00
Jon Turney
101f7b395a meson-test-run.xml: validate against JUnit XSD, if possible
If lxml is available, validate the meson-test-run.xml output of
run_project_tests against the JUnit XML Schema Definition.

Require that to happen in CI, to ensure that test gets run *somewhere*
to ensure such errors are noticed.

Future work: it doesn't seem possible to get anything other than the
*first* error out of the validator?
2026-04-27 14:55:26 +02:00
Dylan Baker
0f5f626e5a ci: Pin mypy to 1.19 so we can lint Python 3.10+
mypy 1.20 fails to correctly lint python 3.10 and > 3.10, raising
warnings about unused ignore comments, when those comments are needed by
3.10
2026-04-23 14:01:23 -07:00
Dylan Baker
aee0e302d0 ci/windows: Use Python 3.10 2026-04-23 14:01:23 -07:00
Dylan Baker
b6c59f78ff ci: use ubuntu-rolling for non-cuda cross testing 2026-04-23 14:01:23 -07:00
Dylan Baker
2e36748b27 ci/macos: use brew python for unit tests 2026-04-23 14:01:23 -07:00
Dylan Baker
be8fa9d468 ci: Drop ubuntu bionic
There is no support for Python 3.10, so we can drop this.
2026-04-23 14:01:23 -07:00
Jon Turney
98e8f737b0 Revert "cygwin: Fix gnome tests for CI"
This partially reverts commit 3fad380c07.
(retain the correction to the expected installed files, because that's
right irrespective of whether the test is expected to run or not.)

Needed until the python-gi cygwin package is rebuilt for python3.12.
2026-04-23 11:01:04 -07:00
Jon Turney
56c0c01b15 CI: Cygwin: don't pip install things a package is available for
Also drop some packages which were added as "gcovr dependencies" back in
commit 5bb7f743.
2026-04-23 11:01:04 -07:00
Jon Turney
d05eb7daee CI: Cygwin: update workflow to use python3.12 2026-04-23 11:01:04 -07:00
Dylan Baker
5dfc08283c CI/windows: install win_flex_bison from chocolatey
So that we can run the flex/lex tests
2026-04-23 18:16:44 +02:00
Dylan Baker
6e1157e476 ci/cygwin: Remove python2 package
It's not longer available
2026-04-17 14:47:22 -07:00
Jon Turney
2cb39bedc6 CI: Cygwin: programmatically locate pip cache dir
per the suggestion at [1], locate the pip cache dir programmatically,
rather than hardcoding a (brittle) path.

[1] https://github.com/mesonbuild/meson/pull/14425#discussion_r2024605416
2026-03-21 14:45:50 +01:00
Jon Turney
f3dbb02c48 CI: Cygwin: drop full path to bash
cygwin-install-action adds cygwin's /usr/bin to PATH by default, so this
isn't needed.
2026-03-21 14:45:50 +01:00
Christoph Reiter
249a4ba439 CI: drop llvm/objfw for the 32bit MSYS2 jobs
The MSYS2 MINGW32 env has recently removed those packages.
This makes CI green again.

(the ternary hack is there since GHA doesn't support "if" in expressions
nor nested expressions)
2026-03-21 14:21:56 +01:00
Dylan Baker
3fad380c07 cygwin: Fix gnome tests for CI
This boils down to three issues:
1. python3-gi was not installed
2. framework/7 gnome was missing an installed file for cygwin
3. Two tests were marked skip for cygwin that were running
2026-02-07 00:50:15 +02:00
Christoph Reiter
014f0a4e9b CI: port two jobs from azure pipelines to GHA
This ports vc2022x64vs and vc2022arm64ninjacross to GHA.

GHA has some upsides:

* 4 instead of 2 cores, so about twice as fast with parallel tests
* easier to test in forks (no azure account required)
* one less CI system to handle

Downsides: GHA is limited to 20 parallel jobs, and meson has many,
so some queuing might occur, though it being twice as fast and many
of the other jobs being short should lead to faster times anyway.

The third job was not ported yet since that includes intel fortran
which requires caching since it takes 15 minutes to install, and I
lost motivation. Ideally it could be ported as well.
2026-01-16 01:56:32 +05:30
Per Rosengren
157745c3dd Update apt sources before install
Without this, the apt cache may be out of sync, causing broken package links during install.
2026-01-06 16:39:40 +05:30
Nirbheek Chauhan
8c09824ac3 ci: Update the cygwin install action to v6
Maybe this fixes it, because it adds a retry for the sha512.sum
network fetch.
2025-12-31 01:49:13 +05:30
Dylan Baker
a2b2429bd7 CI: Delete the macos qt4 job
The macos 13 runner has been removed, and OpenSSL 1.0 fails to build, so
let's just retire this test.
2025-12-10 13:10:23 -05:00
Eli Schwartz
1f22369d88 ci: pin python for pylint to 3.13 to avoid "deprecated in 3.14"
It is not overridable via --py-version, astoundingly.
2025-10-31 12:11:09 -04:00
Eli Schwartz
85a5abacfc wrap: automatically utilize truststore, if it is installed
https://truststore.readthedocs.io/

This library allows patching the stdlib ssl module to respect system
certificates, which is a common source of "broken internet" for Windows
users especially.

Fixes: https://github.com/mesonbuild/meson/issues/15121
2025-10-31 11:31:41 -04:00
Paolo Bonzini
10f06d7680 Revert "tests: skip test common/223 in the -Ddefault_library=... jobs"
This reverts commit 5ab871be52.
It is not needed anymore since the pre-1.8 semantics were the
good ones.
2025-09-15 23:22:00 +03:00
Jussi Pakkanen
fb1046d9e9 Guard against use of Unix tools. 2025-07-31 12:29:35 +03:00
Paolo Bonzini
5ab871be52 tests: skip test common/223 in the -Ddefault_library=... jobs
It is impossible to detect the source of default_library=both from within the
test, so add yet another knob... :(

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2025-06-18 21:33:19 +03:00
Jussi Pakkanen
7f908d909e Remove coverage measurement. 2025-06-18 17:22:04 +03:00
Jussi Pakkanen
c3ea9753e3 Update Windows version in CI.
Windows 2019 in GH Actions goes away on the 30th.
2025-06-18 17:22:04 +03:00
Maxandre Ogeret
960509811e ci: Fix cross-cuda action 2025-06-03 04:08:50 +05:30
Maxandre Ogeret
7d567901de cuda: add cross-cuda test 2025-05-29 14:30:34 -04:00
Paolo Bonzini
cf3e5fe4c3 ci: do not update pip on macos
The workaround in commit 2f146775e ("Work around the mising RECORD
file with homebrew pip.", 2025-05-04) is brittle and has broken
again.  Do not bother updating setuptool and pip at all, they should be
relatively up to date on homebrew.

Suggested-by: Eli Schwartz <eschwartz93@gmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2025-05-23 13:55:13 -04:00
Christoph Reiter
8f767cdab3 CI: always install llvm for MSYS2
Due to some recent package splits llvm is no longer installed
when clang is installed and the meson test suite was depending
on the transitive dependency.

Instead explicitly install llvm in all cases.
2025-05-20 11:39:53 -04:00
Russell Keith-Magee
2f146775eb Work around the mising RECORD file with homebrew pip. 2025-05-04 19:33:01 +03:00
Paolo Bonzini
475bfba79a ci: bump Ubuntu version for UnusedMissingReturn jobs 2025-04-24 17:49:05 +03:00
Eli Schwartz
02792fa778 nightly wheels: fix glob to match across directory separator 2025-04-16 22:17:01 -04:00
Eli Schwartz
db8938791f build nightly wheels whenever a PR is merged
Closes https://github.com/mesonbuild/meson/issues/14419
2025-04-16 13:09:17 -04:00
Jon Turney
f164ec692f CI: Fix filemode tests with cygwin 3.6.0
Put cygwin filemode tests back under the sourcedir
Remove inheritable permissions from the sourcedir

For :reasons:, the unit tests which check file mode were built in the
tempdir.

Instead, remove inheritable permissions from the working directory
(which the GitHub VM image has set for some reaons), since they can
interfere with getting exactly the file mode you asked for.

Partially reverts 04ae1cfb79
2025-03-21 14:44:46 -07:00
Christoph Reiter
d8f68703b7 ci: stop installing python2 for the msys2 jobs, it's gone
MSYS2 dropped Python 2 in https://github.com/msys2/MINGW-packages/pull/23713
2025-03-20 13:43:26 -04:00
Eli Schwartz
2afe0a4475 docs: provide details about how to fund Meson development
At the moment it turns out this mostly means... me. But this was
discussed publicly, as requested by a third party, and as per the newly
added page this is open to anyone in the Project who wishes to let it be
known that they accept donations.

Closes: https://github.com/mesonbuild/meson/issues/14262
2025-03-07 10:20:54 -05:00
L. E. Segovia
3a4cb94e94 ci: Update appleclang job to test Xcode-provided Python 2025-02-04 08:16:23 +05:30
Daniele Nicolodi
74aab8a42c docs: Add a test to validate URLs in markdown/Users.md
Avoid piling up dead URLs.
2025-01-19 20:36:40 +02:00
Dylan Baker
5b39146298 CI: remove codeql
It rarely finds real issues that other scanners (pylint, flake8, mypy)
don't find, and gives lots of useless and annoying errors that clutter
discussions
2025-01-08 00:40:36 +02:00
Jon Turney
836bfb93c4 CI: Use a tagged version of cygwin-install-action
Use a tagged version of cygwin-install-action, rather than whatever
happens to be master at the moment.

This should help isolate meson CI from random breakage there.
2025-01-07 20:47:11 +02:00
Carlo Cabrera
0025805e30 Prioritise Apple's toolchain in project-tests-appleclang
Using Homebrew Clang leads to failures when testing objfw. We probably
want to ensure we use Apple Clang here given the workflow job name, in
any case.
2024-12-20 14:15:30 -05:00
Sam James
54cab0910e ci: fix Ubuntu Bionic job
Do the same as https://github.com/pytorch/test-infra/pull/5959 and download
an old nodejs to keep Ubuntu Bionic working.

Bug: https://github.com/actions/checkout/issues/1809
Bug: https://github.com/actions/runner/issues/3373
2024-12-10 04:36:16 +00:00
Andrei Horodniceanu
726d9c0b61 .github/workflows/os_comp.yml: set HOME to /root on OpenSUSE
The D compiler and associated tools are installed under /root and the
setup script run during the actual testing expects that `~` will
expand to the same path. Because github overrides HOME the dmd
environment setup script will not be run which leads to all D related
tests being skipped, even though the whole test suite reports as
having finished successfully.

Signed-off-by: Andrei Horodniceanu <a.horodniceanu@proton.me>
2024-09-23 12:35:33 -07:00
Dylan Baker
933b0129a8 CI: run lint workflows on changes to the lint config files 2024-09-20 15:39:55 -07:00
Jon Turney
97fc2a160c CI: Install make on Cygwin
Test '230 external project' uses make, but is too dumb to use the
platform conventions for shared library names in installed files
expected by shared_lib, so special case that.
2024-08-04 09:56:28 +01:00