Christoph Reiter
f000fa407d
CI: Port MSYS2 from azure-pipelines to github actions
...
This uses the msys2/setup-msys2@v2 to set up MSYS2
4 years ago
Jussi Pakkanen
bca90722ec
Bump minimum supported Python version to 3.6. Closes #6297 .
4 years ago
Yonggang Luo
e873e64b40
dependencies/curses: Add way to testing curses on msys2.
4 years ago
Christoph Reiter
b872eea27f
CI: don't update MSYS2 [skip ci]
...
This should use the package database from the installer,
from the release choco provides and result in fewer potential
changes overall.
4 years ago
Jon Turney
6a56291a2a
Add a test run of MSVC ARM64 cross on Windows x64
...
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.
4 years ago
Nirbheek Chauhan
dce60c8f58
ci: Disable pytest-xdist on cygwin
...
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
4 years ago
Nirbheek Chauhan
a672ffa9f8
ci: Increase timeout for vs jobs to 120
...
vc2017x64vs and vc2019x64vs sometimes timeout because they exceed the
60 min default limit.
4 years ago
Nirbheek Chauhan
6aabc205f7
ci: Workaround MSYS2 update breakage
...
Also kill all MSYS2 processes after the first update, and constantly
print update status.
4 years ago
Nirbheek Chauhan
e9dbe82d3e
ci: Bump the cygwin timeout to 120 minutes
...
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.
4 years ago
Cary Converse
f3e2e4c63e
add missing gcovr dependencies for msys2 ci
4 years ago
Cary Converse
5bb7f743fd
add missing gcovr dependencies for cygwin ci
4 years ago
Cary Converse
a198e5d191
coverage: llvm-cov support
4 years ago
Nirbheek Chauhan
804cefc94c
ci: Remove PostgreSQL from PATH
...
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.
4 years ago
Nirbheek Chauhan
e121942fcd
Disable failing cmake jobs on VS2017
...
These only fail when building with msvc/clang-cl on the VS2017-Win2016
image. See: https://github.com/mesonbuild/meson/issues/7307
4 years ago
Jon Turney
bd7122beed
azure: Run gtkdoc tests for Cygwin
4 years ago
Dan Kegel
c82c74cae8
ci: run some builders with response file threshold set to zero
5 years ago
Dylan Baker
29ef4478df
compilers/d: Add b_ndebug support
...
D lang compilers have an option -release (or similar) which turns off
asserts, contracts, and other runtime type checking. This patch wires
that up to the b_ndebug flag.
Fixes #7082
5 years ago
Dylan Baker
91050e0c7c
ci: Add python-jsonschema
...
Which is used to validate the json schema files in the various test
directories in a unit test.
5 years ago
Jon Turney
0fa70325ed
Revert "azure: Workaround MSYS2 PCH test failures"
...
This reverts commit 5f9dccb9bc
.
5 years ago
Nirbheek Chauhan
36b573822a
azure ci: Test x86 Visual Studio builds again, closes #6604
...
This was dropped when the VS2015 images were removed from Azure.
5 years ago
Daniel Mensinger
96f5d4e455
boost: Updated tests
5 years ago
Jussi Pakkanen
93b9a3ed29
Remove vs2015 jobs as Azure will stop supporting it.
5 years ago
Nirbheek Chauhan
bd17c9ad4f
tests: Add a unit test for checksums
...
Adds a CI dependency on the `pefile` python module.
5 years ago
Daniel Mensinger
9c72d0fdb2
azure: Fix vs2015
5 years ago
Michael Hirsch, Ph.D
0435691e83
lint+mypy: move to github actions
...
actions: run if .yml itself changed
5 years ago
Michael Hirsch, Ph.D
3bbd065576
fs: use pathlib.Path, add type hint check
5 years ago
Michael Hirsch, Ph.D
6e708208dd
CI: add initial type annotation checking
5 years ago
Jon Turney
94564b8f1a
azure: Install python[23]-devel packages on Cygwin
...
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)
5 years ago
Nirbheek Chauhan
5f9dccb9bc
azure: Workaround MSYS2 PCH test failures
...
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
5 years ago
Nirbheek Chauhan
96088d3e51
tests: Detect ninja v1.9 and disable timestamp hack
...
The high-res timestamp PR by QuLogic was merged in v1.9, so we can
switch back to upstream ninja.
5 years ago
Michael Hirsch, Ph.D
9943635a98
add pylint Azure job
5 years ago
Nirbheek Chauhan
ab0e65c196
ci/cygwin: Install pytest-xdist for unit tests
...
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.
5 years ago
Nirbheek Chauhan
f5ed85d7cd
ci/cygwin: Don't need a special step to install cmake
5 years ago
Michael Hirsch, Ph.D
76b1f4f8cb
azure cygwin cmake 3.14.5
5 years ago
Daniel Mensinger
4279255401
cmake: use newer CMake version for cygwin
6 years ago
Anton Kochkov
ad0ba6a911
Add VS2019 backend CI and docs.
6 years ago
Jon Turney
df0be82dd6
azure: Fix some places where an unexpected compiler is being picked up
...
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.
6 years ago
Jon Turney
eb76ba7031
azure: Unset BOOST_ROOT for Cygwin, MSYS2 and clang-cl
...
It looks like BOOST_ROOT is now set in the azure v2017 image (relevant
change seems to be [1], pre-installing boost)
Remove BOOST_ROOT from the environment to prevent attempting to use a
boost which is incompatible with the compiler.
(an MSVC boost should be compatible with clang-cl, but has problems, see
c7a3e810
)
[1] https://github.com/Microsoft/azure-pipelines-image-generation/pull/732
6 years ago
Daniel Mensinger
fcd608c131
azure: Fix python3 in vs2017 tasks
6 years ago
Jussi Pakkanen
9acbd62789
Launch Meson via python3 so the binary name is correct.
6 years ago
Jussi Pakkanen
7564a63353
Copy python3.5 to python3 so tests pass on Cygwin.
6 years ago
Nirbheek Chauhan
f4b344f5b0
azure-pipelines: Fix cygwin python3 installation
...
The package has been moved from python3-pip to python3N-pip where N is
5, 6, 7. We use Python 3.5, so let's use that.
6 years ago
Christoph Reiter
db61d018ce
ci/msys2: use the msys2 ninja
...
msys2 now has ninja 1.9.0 which includes the timestamp fixes
6 years ago
Jon Turney
8d6f5d8696
azure: Add msys2 clang to test matrix
...
The clang package depends on the gcc package, so we need to explicitly
select the compiler (as the priority order built into meson will prefer
gcc to clang)
v2:
ensure $(MSYS2-ARCH)-pkg-config is installed
6 years ago
Christoph Reiter
7f9bd8d271
azure-pipelines: install cmake in msys2
...
Recent test changes depend on cmake being available.
6 years ago
Christoph Reiter
5e2dd5b2e0
CI: port msys2 jobs from appveyor to azure-pipelines
6 years ago
Daniel Mensinger
a0175ecb14
CMake find_package dependency backend ( #4444 )
6 years ago
Christoph Reiter
5e91eb3d0c
CI: port cygwin job from appveyor to azure-pipelines
6 years ago
Jon Turney
7f9aa9208c
azure: Remove unneeded maxParallel
...
Default is unlimited, not 1
6 years ago
Jon Turney
3354a64056
azure: Match release branch names as well
6 years ago