summaryrefslogtreecommitdiff
path: root/.github/workflows/cygwin.yml
AgeCommit message (Collapse)Author
2025-06-18Remove coverage measurement.Jussi Pakkanen
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-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-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/cache to v4 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
2023-12-13do not trigger workflows on dev branchesCharles Brunet
2023-12-10unittests: migrate from jsonschema to fastjsonschemaEli Schwartz
The former has rust dependencies, which lead to max capping on Cygwin since there is no rust compiler there. But it turns out there are other disadvantages of jsonschema: - it involves installing 5 wheels, instead of just 1 - it is much slower To give some perspective to the latter issue, this is what it looks like when I test with jsonschema: ``` ===== 1 passed, 509 deselected in 3.07s ===== Total time: 3.341 seconds ``` And here's what it looks like when I test with fastjsonschema: ``` ===== 1 passed, 509 deselected, 1 warning in 0.28s ===== Total time: 0.550 seconds ``` I cannot think of a good reason to use the former. Although in order to work on old CI images, we'll support it as a fallback mechanism
2023-07-06CI: gracefully handle jsonschema update requiring rust to buildEli Schwartz
This has issues on Windows with msys2/cygwin, where we need to build it ourselves since binary wheels aren't supported on PyPI. And we don't have a rust compiler available for either one -- we may not be *able* to do so for cygwin? For msys2, the solution is pretty easy, just rely on the official msys2 packages for jsonschema, which handle both it and its dependencies for us and don't require us to compile anything. Currently they still have an older jsonschema that doesn't use rust deps at all, but that's because the new jsonschema was released today. We'll automatically catch up at some point. For cygwin, there is no rust compiler in the cygwin repository, and jsonschema there is old as the hills. I do not know if there's a good answer here, but an adequate answer is to cap jsonschema at the version we were testing with yesterday.
2023-04-24ci: Don't error out CI if codecov upload failsNirbheek Chauhan
2023-04-21ci: Move to the codecov github actionNirbheek Chauhan
The pypi package was suddenly removed. Not the most confidence-inspiring deprecation/migration: https://about.codecov.io/blog/message-regarding-the-pypi-package/
2023-04-19Revert "cygwin CI: work around gcovr bug"Eli Schwartz
This reverts commit 0022e1863d8d9769378ebfb56695bdbf55f118b9. The bug is long since both fixed and *released*.
2023-04-19CI: update cygwin cache actions to new version supporting granular saveEli Schwartz
cache/restore and cache/save now exist, and close the issue linked in the workflow comment. The new save action runs when invoked, rather than as a post action.
2023-04-17CI: cygwin coverage uploader needs to run in bash tooEli Schwartz
Like every single other command in the entire workflow, and for the same reasons. ;)
2022-11-30build: harden workflow permissionsAlex
Signed-off-by: Alex <aleksandrosansan@gmail.com>
2022-11-28github workflows: upgrade actions/upload-artifact to version 3Eli Schwartz
This is a no-op change from v2 to v3, but github complains that nodejs is outdated if you don't. It's not obvious why this required a major version bump... However, half of our uses are on v1, which has a decent fix: failure to upload artifacts constitutes a step failure.
2022-11-28github workflows: upgrade actions/checkout to version 3Eli Schwartz
This is a no-op change, but github complains that nodejs is outdated if you don't. It's not obvious why this required a major version bump...
2022-10-30ci: Fix usage of concurrency in branches other than masterL. E. Segovia
2022-03-25cygwin CI: work around gcovr bugEli Schwartz
Due to https://github.com/gcovr/gcovr/pull/576 it is not possible to `pip install gcovr` and have it work. It is possible, but not ideal, to install the cygwin gcovr package, which is unmaintained and built for python36 while only depending on python39. This is of course not a problem on the other CI jobs, where we either install it from a distro repository that ensures it is stable and backports patches, or simply tests that the resulting image passes tests before baking it as a CI images update. gcovr upstream isn't sure when they are going to release a new version that fixes this bug. There is a new feature release scheduled "soon".
2022-01-25cygwin: fix python versions againEli Schwartz
Now cygwin seems to have completed a migration of the default python to 3.9, so that is where the devel package is at. Back out the changes from commit 3304a38496a52052ae9d58ed2459c7deb18ca703 and update the pip/wheel packages as appropriate.
2021-12-30cygwin: fix broken python versionsEli Schwartz
multiple versions of python are packaged by cygwin, and the default python is auto-selected as the latest one via a Debian-like alternatives system. This recently broke because dblatex is built against 3.9, causing it to be installed too and resulting in multiple (inconsistent) versions of python being installed, and `python3` pointing to the one we don't have devel packages for and isn't even the default version. Fix this by pointing back to the intended python.
2021-12-06ci: install pytest-subtestsDylan Baker
Which lets pytest understand unittest.subtest
2021-09-04ci: Use GitHub concurrencyDaniel Mensinger
2021-07-13Set MESON_CI_JOBNAME for all CI jobsJon Turney
Set MESON_CI_JOBNAME for all CI jobs which run project tests. (Note that ${{ github.job }} is the literal job.id used in the yaml, not any name given to the job with job.id.name, and so is the same for all matrix entries, and thus not suitable for our purposes there).
2021-06-22coverage: Enable coverage reportsDaniel Mensinger
2021-06-10Move Cygwin tests to a GitHub workflow (#8829)Jon Turney
* CI: Don't run cross-only test when other workflows are changed * CI: Move Cygwin test run from Azure Pipelines to GitHub workflow Also review installed package list, dropping detritus from 42792554, not removed in f5ed85d7.