summaryrefslogtreecommitdiff
path: root/.github
AgeCommit message (Collapse)Author
2025-12-10CI: Delete the macos qt4 jobDylan Baker
The macos 13 runner has been removed, and OpenSSL 1.0 fails to build, so let's just retire this test.
2025-10-31ci: pin python for pylint to 3.13 to avoid "deprecated in 3.14"Eli Schwartz
It is not overridable via --py-version, astoundingly.
2025-10-31wrap: automatically utilize truststore, if it is installedEli Schwartz
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-09-15Revert "tests: skip test common/223 in the -Ddefault_library=... jobs"Paolo Bonzini
This reverts commit 5ab871be5287aa5cce1e8dfdfb7c4a6b07b4f2f7. It is not needed anymore since the pre-1.8 semantics were the good ones.
2025-07-31Guard against use of Unix tools.Jussi Pakkanen
2025-06-18tests: skip test common/223 in the -Ddefault_library=... jobsPaolo Bonzini
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-18Remove coverage measurement.Jussi Pakkanen
2025-06-18Update Windows version in CI.Jussi Pakkanen
Windows 2019 in GH Actions goes away on the 30th.
2025-06-03ci: Fix cross-cuda actionMaxandre Ogeret
2025-05-29cuda: add cross-cuda testMaxandre Ogeret
2025-05-23ci: do not update pip on macosPaolo Bonzini
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-20CI: always install llvm for MSYS2Christoph Reiter
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-04Work around the mising RECORD file with homebrew pip.Russell Keith-Magee
2025-04-24ci: bump Ubuntu version for UnusedMissingReturn jobsPaolo Bonzini
2025-04-16nightly wheels: fix glob to match across directory separatorEli Schwartz
2025-04-16build nightly wheels whenever a PR is mergedEli Schwartz
Closes https://github.com/mesonbuild/meson/issues/14419
2025-03-21CI: Fix filemode tests with cygwin 3.6.0Jon Turney
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 04ae1cfb7999e25f476f84572ff0ad853629346c
2025-03-20ci: stop installing python2 for the msys2 jobs, it's goneChristoph Reiter
MSYS2 dropped Python 2 in https://github.com/msys2/MINGW-packages/pull/23713
2025-03-07docs: provide details about how to fund Meson developmentEli Schwartz
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-02-04ci: Update appleclang job to test Xcode-provided PythonL. E. Segovia
2025-01-19docs: Add a test to validate URLs in markdown/Users.mdDaniele Nicolodi
Avoid piling up dead URLs.
2025-01-08CI: remove codeqlDylan Baker
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-07CI: Use a tagged version of cygwin-install-actionJon Turney
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.
2024-12-20Prioritise Apple's toolchain in project-tests-appleclangCarlo Cabrera
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-10ci: fix Ubuntu Bionic jobSam James
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-09-23.github/workflows/os_comp.yml: set HOME to /root on OpenSUSEAndrei Horodniceanu
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-20CI: run lint workflows on changes to the lint config filesDylan Baker
2024-08-04CI: Install make on CygwinJon Turney
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-03CI: Adjust path filters to run tests on Cygwin when unittests changeJon Turney
2024-07-30ci: Update actions/upload-artifact to v4 to fix deprecationsNirbheek Chauhan
2024-07-30ci: Update actions/setup-python to v5 to fix deprecationsNirbheek Chauhan
2024-07-30ci: update actions/cache to v4 to fix deprecationsNirbheek Chauhan
2024-07-30ci: Update codeql-analysis action to fix deprecationsNirbheek Chauhan
2024-07-30ci: Update to checkout@v4 to squelch node warningsNirbheek Chauhan
Keep using v3 for Bionic because of https://github.com/mesonbuild/meson/pull/13424
2024-07-15tests: try to fix ubuntu bionic testsChristoph Reiter
by forcing an older nodejs
2024-06-26CI/MacOS: Add libompDylan Baker
2024-04-28Install ObjFW on macOS, Fedora and MSYS2 CIJonathan Schleifer
2024-04-25CI/MacOS: move some things out of the run script into the env keyDylan Baker
2024-04-25CI/MacOS: add missing packagesDylan Baker
There are some additional packages that seem to be needed on Apple based Silicon.
2024-04-25CI/MacOS: Fix paths that have changed from /usr/local to /opt/homebrewDylan Baker
homebrew installs to /usr/local on Intel based macs, but has moved to /opt/homebrew for those using Apple Silicon.
2024-04-25CI/MacOS: switch the Qt4 job to run on an Intel MacDylan Baker
Qt4 doesn't seem to work on Apple Silicon because OpenSSL 1.0 (a requirement for Qt4) doesn't build on it correctly, trying to use X86 assembly.
2024-03-11CI: pin mypy to version 1.8Dylan Baker
Version 1.9 removes support for python 3.7, so we either need to pin the version to 1.8 as long as we're support Python 3.7, or we need to drop linting for 3.7
2024-02-21ciimage: fix pathological brokenness in homebrew packaging of pythonEli Schwartz
Followup to commit 5c479d7a13a518c18ccb4dc3b6bdd7bfc2a9bdb5. In this case, PEP 668 was created to allow a thing that Debian wanted, which is for `pip install foobar` to not break the system python. This despite the fact that the system python is fine, unless you use sudo pip which is discouraged for separate reasons, and it is in fact quite natural to install additional packages to the user site-packages. It isn't even the job of the operating system to decide whether the user site-packages is broken, whether the operating system gets the answer correct or not -- it is the job of the operating system to decide whether the operating system is broken, and that can be solved by e.g. enforcing a shebang policy for distribution-packaged software, which distros like Fedora do, and mandating not only that python shebangs do not contain `/usr/bin/env`, but that they *do* contain -s. Anyway, this entire kerfuffle is mostly just a bit of pointless interactive churn, but it bites pretty hard for our use case, which is a container image, so instead of failing to run because of theoretical conflicts with the base system (we specifically need base system integration...) we fail to run because 5 minutes into pulling homebrew updates at the very beginning, pip refuses point-blank to work. I especially do not know why it is the job of the operating system to throw errors intended for interactive users at people designing system integration containers who cannot "break" the system python anyway as it is thrown away after every use. Fix this by doing what homebrew should have done from the beginning, and opting containers out of this questionable feature entirely.
2024-02-14workflows: Trigger on all test harness changesAndrew McNulty
The following workflows have been updated so that they are triggered when the any of the test harnesses are updated: macos, os-comp, msys2 Previously only changes to `run_unittests.py` caused these workflows to be executed.
2024-02-09CI image builder: fix profile loading for gentooEli Schwartz
We need to load various environment variables from /etc/profile. We cannot unconditionally load it, because opensuse sources env_vars and their /etc/profile has a fatal bug in it that causes it to return nonzero and abort under `set -e` (which is *amazing* as a thing to have in /etc/profile specifically -- just saying). Alas, even /etc/profile.env is not enough since Java support depends on profile.d logic. Re-conditionalize this check to only be added to env_vars.sh for the image named "gentoo".
2024-02-09ci: add GentooSam James
We may want to consider our own binpkg cache for future to speed things up, in addition to the ones provided by Gentoo's own binhost. Signed-off-by: Sam James <sam@gentoo.org> Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
2024-01-02CI: fix even more brokenness in the macos CIEli Schwartz
Commit 191449f60879a622661b96600babaec67477d5bb has numerous issues, and being completely invalid yml syntax was just the tip of the iceberg. In this case, it fails the github schema, which requires that env be adjunct to a job or step definition, rather than its own thing. It did not even make sense in context, since the purpose of the variable is to modify brew. Fixes: #12644 Fixes: #12681
2024-01-01CI: Fix macos.yml error "Invalid workflow file"Chris Mayo
2023-12-20ci: Don't auto-update brew when installingNirbheek Chauhan
We're getting errors that we don't care about on the CI like: ``` ==> Pouring node@18--18.19.0.monterey.bottle.tar.gz The formula built, but is not symlinked into /usr/local Error: The `brew link` step did not complete successfully Could not symlink lib/node_modules/npm/docs/content/commands/npm-sbom.md Target /usr/local/lib/node_modules/npm/docs/content/commands/npm-sbom.md already exists. You may want to remove it: rm '/usr/local/lib/node_modules/npm/docs/content/commands/npm-sbom.md' ``` We don't care about node, the only reason it's getting updated is because it's already installed on the image and brew is auto-updating it. So let's disable auto-update.
2023-12-13do not trigger workflows on dev branchesCharles Brunet