summaryrefslogtreecommitdiff
path: root/ci/run.ps1
AgeCommit message (Collapse)Author
2025-10-17Update Azure image from win2019 to win2022Jussi Pakkanen
https://github.com/actions/runner-images/issues/12045
2025-06-18Remove coverage measurement.Jussi Pakkanen
2024-12-20Revert "CI: Windows: downgrade rust to 1.77"Eli Schwartz
This reverts commit 1da230c9e0f66cf7ecf5a9f5fed70e74e15418ac. Should be fixed now in upstream rustc.
2024-09-12ci/run.ps1: Clean up D related codeAndrei Horodniceanu
Bump the version of the cidata archive and remove the code that tries to setup dmd and the dub packages from run.ps1 as it doesn't work as expected (builds for x86 instead of x86_64) and cidata should already take care of them. Signed-off-by: Andrei Horodniceanu <a.horodniceanu@proton.me>
2024-08-06ci: fix dub tests on WindowsSam James
This fixes a pesky failure in vs2019 vc2019x64ninja for d/11 dub: ``` Searching in DUB cache for compatible urld.lib WARNING: No such cache folder: C:\Users\VssAdministrator\AppData\Local\dub\packages\urld-2.1.1\urld\.dub\build ERROR: urld@2.1.1 not found You may try the following command to install the necessary DUB libraries: dub run --yes dub-build-deep -- urld --arch=x86_64 --compiler=dmd --build=debug Run-time dependency urld found: NO test cases\d\11 dub\meson.build:13:11: ERROR: Dependency "urld" not found ``` Follow dub's advice by installing urld in ci/run.ps1 before the testsuite; we were already doing this for ubuntu, opensuse, and even recommending it in our docs before now: * ci/ciimage/ubuntu-rolling/install.sh * ci/ciimage/opensuse/install.sh * docs/markdown/Dependencies.md We also bump to 'ci4' which has newer D added (from the cidata repo).
2024-06-03CI: Windows: downgrade rust to 1.77Eli Schwartz
It started failing CI as soon as the default shifted to 1.78. Something is broken and it prevents running stable CI. Tracking issue opened. We pin the version because that is the same way we handle CI for linux -- with the exception that Linux CI can upgrade itself as soon as we fix issues causing the CI Image Builder to jam itself, whereas unfortunately Windows will need to be manually unpinned, but such is life as a Windows supporter. Bug: #13236
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-06-07azure pipelines: force python2 to be installedEli Schwartz
Azure pipelines is removing python2 from the hostedtoolcache, see https://github.com/actions/runner-images/issues/7401 We want to test that meson can still build modules for it, anyway.
2023-05-05Add Cython to Windows CI jobs on AzureRalf Gommers
[skip actions]
2023-04-11fix various spelling issuesJosh Soref
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2022-11-16fix confusing azure pipelines status for coverageEli Schwartz
The coverage report was always the final section of the main test run. This made it hard to scroll around and find exactly what went wrong -- particularly as not everyone realizes that coverage isn't part of the test run, but also because the output from coverage is... excessively long. This mirrors what we do in our other workflows.
2022-07-11CI: install ifort on WindowsEli Schwartz
This enables the fortran tests for Azure. We only test on x64, because: - ifort isn't arm64 compatible - x86 may in theory exist, but Meson reports it cannot compile executables
2022-04-12add a pypy3 for windows toomattip
2022-01-10bump minimum required version of python to 3.7Eli Schwartz
Comment out the pending deprecation notice. It cannot be reached anymore, but is still useful for the next time we do a version bump.
2021-12-06ci: install pytest-subtestsDylan Baker
Which lets pytest understand unittest.subtest
2021-10-10Fix typos discovered by codespellChristian Clauss
2021-09-24pipelines: add 32bit clippy to 32bit rustDylan Baker
2021-08-16ci: Use 32-bit Rust and Python on vs2017 x86Nirbheek Chauhan
See also: https://github.com/mesonbuild/meson/issues/9038#issuecomment-898960933
2021-07-12azure: propagate run_tests.py exit codeJon Turney
Propagate the run_tests.py exit code, rather than overwriting it with the codecov exit code.
2021-06-22coverage: Enable coverage reportsDaniel Mensinger
2020-09-11Add a test run of MSVC ARM64 cross on Windows x64Jon Turney
Add a cross-file for MSVC UWP ARM64. Bump cidata tag to get an updated install.ps1 script (run by run.ps1) which sets the vcvars environment correctly when cross-compiling. Since arranging the correct environment for simultaneous cross and native 'cl' use is hard, this is test run uses '--cross-only' so we don't require a native compiler. Extend '--cross-only' so it also explicitly uses a machine file which makes all build machine compilers unusable.
2020-06-17ci: Remove PostgreSQL from PATHNirbheek Chauhan
It's one of the causes of the cmake test failures, and it's also plaguing the VS2019 jobs now because of the image update.
2020-04-17ci: Add python-jsonschemaDylan Baker
Which is used to validate the json schema files in the various test directories in a unit test.
2020-04-12azure: Do not skip boost testsDaniel Mensinger
2020-04-11Add rust stdlib dir to PATH on Windows.Jussi Pakkanen
2020-04-04ci: Use self hosted CI dataDaniel Mensinger