aboutsummaryrefslogtreecommitdiff
path: root/azure-pipelines.yml
AgeCommit message (Collapse)AuthorFilesLines
2023-05-24azure pipelines: fix branch patterns to support 1.x release branchesEli Schwartz1-1/+1
I would like to use the same pattern rule as github actions uses: '[0-9]+.[0-9]+' But azure pipelines doesn't document what the syntax here is, and it scares me that perhaps the reason we didn't already do this is because it doesn't work at all.
2023-02-20ci: Install NASM on MSVC jobsXavier Claessens1-0/+2
2022-11-16fix confusing azure pipelines status for coverageEli Schwartz1-0/+5
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-08-03azure CI: remove vs2017 tests without replacement now that the image is deletedEli Schwartz1-59/+0
The Windows 2016 images have been deprecated for a while now and regularly browning out. There's no viable replacement for testing that we can generate a usable `--backend=vs2017` project, so we cannot migrate this to anything else. The deprecated images are finally fully removed. See https://github.com/actions/virtual-environments/issues/5403 And now we get universal red CI, we cannot just wait for the brownout to end to get a tiny little bit of final testing. Simply remove the jobs so that we can tell if all the CI that actually runs, is passing.
2022-07-11CI: install ifort on WindowsEli Schwartz1-0/+66
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-01-10bump minimum required version of python to 3.7Eli Schwartz1-1/+1
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-09-04ci: Also use the `autoCancel` key for AzureDaniel Mensinger1-2/+13
This also removes the additional upload step for test results in the hope of fixing the `autoCancel` flag.
2021-07-26Split run_unittests.py fileXavier Claessens1-0/+2
2021-07-10Add path filter to azure pipelines triggerJon Turney1-0/+22
This restricts the pipeline from running on 'non-code' pushes and PRs in the same way that GitHub workflows which run project tests are (although the syntax is different, and must be made more explicit as wildcards aren't supported).
2021-06-22coverage: Enable coverage reportsDaniel Mensinger1-0/+1
2021-06-10Move Cygwin tests to a GitHub workflow (#8829)Jon Turney1-72/+0
* 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.
2021-05-20Revert "ci: Disable pytest-xdist on cygwin"Jon Turney1-2/+2
This reverts commit dce60c8f58798e0457a9bb24198adb039a0e6fdd.
2021-01-09ci: Fix pip installation in Cygwin on AzureNirbheek Chauhan1-1/+1
Python3 in Cygwin is now Python 3.8
2020-11-04CI: Port MSYS2 from azure-pipelines to github actionsChristoph Reiter1-73/+0
This uses the msys2/setup-msys2@v2 to set up MSYS2
2020-10-30Bump minimum supported Python version to 3.6. Closes #6297.Jussi Pakkanen1-1/+1
2020-09-29dependencies/curses: Add way to testing curses on msys2.Yonggang Luo1-0/+4
2020-09-15CI: don't update MSYS2 [skip ci]Christoph Reiter1-11/+0
This should use the package database from the installer, from the release choco provides and result in fewer potential changes overall.
2020-09-11Add a test run of MSVC ARM64 cross on Windows x64Jon Turney1-0/+5
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-08-15ci: Disable pytest-xdist on cygwinNirbheek Chauhan1-2/+2
Fixes breakage when installing psutil: Collecting psutil>=3.0.0 Downloading psutil-5.7.2.tar.gz (460 kB) ERROR: Command errored out with exit status 1: command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/cygdrive/c/Users/VSSADM~1/AppData/Local/Temp/pip-install-dajoe3xd/psutil/setup.py'"'"'; __file__='"'"'/cygdrive/c/Users/VSSADM~1/AppData/Local/Temp/pip-install-dajoe3xd/psutil/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base '/cygdrive/c/Users/VSSADM~1/AppData/Local/Temp/pip-pip-egg-info-1ei2_y44' cwd: /cygdrive/c/Users/VSSADM~1/AppData/Local/Temp/pip-install-dajoe3xd/psutil/ Complete output (1 lines): platform cygwin is not supported
2020-07-13ci: Increase timeout for vs jobs to 120Nirbheek Chauhan1-0/+2
vc2017x64vs and vc2019x64vs sometimes timeout because they exceed the 60 min default limit.
2020-06-25ci: Workaround MSYS2 update breakageNirbheek Chauhan1-1/+7
Also kill all MSYS2 processes after the first update, and constantly print update status.
2020-06-25ci: Bump the cygwin timeout to 120 minutesNirbheek Chauhan1-0/+1
The default timeout is 60 min and we're timing out, but the maximum we can have is 6 hours. Bump it to 120 min for now.
2020-06-17add missing gcovr dependencies for msys2 ciCary Converse1-0/+1
2020-06-17add missing gcovr dependencies for cygwin ciCary Converse1-0/+5
2020-06-17coverage: llvm-cov supportCary Converse1-3/+6
2020-06-17ci: Remove PostgreSQL from PATHNirbheek Chauhan1-2/+0
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-06-14Disable failing cmake jobs on VS2017Nirbheek Chauhan1-0/+2
These only fail when building with msvc/clang-cl on the VS2017-Win2016 image. See: https://github.com/mesonbuild/meson/issues/7307
2020-06-13azure: Run gtkdoc tests for CygwinJon Turney1-0/+1
2020-06-05ci: run some builders with response file threshold set to zeroDan Kegel1-0/+2
2020-04-17ci: Add python-jsonschemaDylan Baker1-3/+3
Which is used to validate the json schema files in the various test directories in a unit test.
2020-03-17Revert "azure: Workaround MSYS2 PCH test failures"Jon Turney1-14/+0
This reverts commit 5f9dccb9bce957979efa6efea961192a12f76790.
2020-02-25azure ci: Test x86 Visual Studio builds again, closes #6604Nirbheek Chauhan1-2/+2
This was dropped when the VS2015 images were removed from Azure.
2020-02-20boost: Updated testsDaniel Mensinger1-0/+3
2020-02-09Remove vs2015 jobs as Azure will stop supporting it.Jussi Pakkanen1-24/+0
2020-01-22tests: Add a unit test for checksumsNirbheek Chauhan1-2/+4
Adds a CI dependency on the `pefile` python module.
2019-12-09azure: Fix vs2015Daniel Mensinger1-0/+6
2019-11-17lint+mypy: move to github actionsMichael Hirsch, Ph.D1-15/+0
actions: run if .yml itself changed
2019-11-17fs: use pathlib.Path, add type hint checkMichael Hirsch, Ph.D1-1/+1
2019-11-07CI: add initial type annotation checkingMichael Hirsch, Ph.D1-3/+4
2019-10-01azure: Install python[23]-devel packages on CygwinJon Turney1-4/+5
Install python[23]-devel packages on Cygwin, so that python tests which require that can run. (Only the default version of python (currently 3.6) provides the /usr/lib/pkgconfig/python3.pc file we are looking for so also update to that version)
2019-09-01azure: Workaround MSYS2 PCH test failuresNirbheek Chauhan1-0/+14
Compiler version is hard-coded so that we remember to revisit this when the GCC version is updated. Closes https://github.com/mesonbuild/meson/issues/5807
2019-09-01tests: Detect ninja v1.9 and disable timestamp hackNirbheek Chauhan1-1/+0
The high-res timestamp PR by QuLogic was merged in v1.9, so we can switch back to upstream ninja.
2019-08-02add pylint Azure jobMichael Hirsch, Ph.D1-0/+15
2019-07-25ci/cygwin: Install pytest-xdist for unit testsNirbheek Chauhan1-0/+3
The job is taking too long and timing out, use pytest-xdist to speed up unit tests. Speeds it up on my system from 20 min to 8 min. Still much slower than native windows: vs2017-x64 takes 3.5 min with pytest-xdist.
2019-07-25ci/cygwin: Don't need a special step to install cmakeNirbheek Chauhan1-4/+1
2019-07-18azure cygwin cmake 3.14.5Michael Hirsch, Ph.D1-2/+2
2019-06-06cmake: use newer CMake version for cygwinDaniel Mensinger1-1/+10
2019-04-20Merge pull request #5250 from jon-turney/test-compiler-reportJussi Pakkanen1-1/+2
Add a report of compilers used to run_project_tests.py
2019-04-16Add VS2019 backend CI and docs.Anton Kochkov1-0/+23
2019-04-15azure: Fix some places where an unexpected compiler is being picked upJon Turney1-1/+2
Now we have some information in CI logs about what compiler is actually being used, fix some places where an unexpected compiler is being picked up. Avoid picking up gcc-objc and gfortran from PATH in vs2017 image for VS test runs. Use clang for objc/objc++ in MSYS2 clang test runs, rather than picking up gcc from path. Also install gfortran for fortran tests on Cygwin.