Commit Graph

72 Commits

Author SHA1 Message Date
Daniel Mensinger 765aff5a42 coverage: Enable coverage reports 2021-06-22 21:05:11 +03:00
Jon Turney 636bf91586 CI: Split out file format test as a separate GitHub workflow
Split out checking of file format as a separate GitHub workflow, rather
than running it as part of the project tests for every platform and
toolchain combination in CI, so that this test is not effected by the
changed paths constraints which are applied to the project tests.
2021-06-11 15:28:07 +02:00
Jon Turney 1ab0694556 CI: Don't try to update website in a forked repository 2021-06-11 10:46:55 +02:00
Jon Turney 89f2f78972 CI: Don't try to push docker image in a forked repository
The 'build images' workflow runs on a schedule, so will run (and fail)
weekly in every fork.

Don't try to push to docker if docker credentials aren't in repository
secrets.

(A test for that has to be written rather indirectly due to
https://github.com/actions/runner/issues/520)
2021-06-11 10:46:55 +02:00
Jon Turney 0accc3b72d
Move Cygwin tests to a GitHub workflow (#8829)
* 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-06-10 19:42:02 +03:00
Xavier Claessens 4dec7dbb71 ci: Automatically update website when pushing to master 2021-06-02 17:39:34 +03:00
Daniel Mensinger 1236b1500a ci: Downgrade Qt on MacOS from Qt6 to Qt5 2021-03-04 20:27:59 +02:00
Dylan Baker 38025b9730 ci: fix yaml syntax error 2021-02-05 16:31:33 -08:00
Dylan Baker c321339b24 Change the Eoan CI to ubuntu rolling ci
This makes the Ubuntu CI always use the latest release, without us
having to manually change it.
2021-01-29 19:40:25 +00:00
Dylan Baker cbdef0479e workflows/os_comp: Don't run if there aren't relavent changes 2021-01-29 19:40:25 +00:00
Nirbheek Chauhan 832bcac0a7 ci: Run github workflows on stable branches too 2021-01-09 14:06:21 +05:30
Christoph Reiter 8d04b3ce74 CI: Move all remaining jobs from travis-ci to GHA
Some changes:

* Set HOME to /root, since github mounts its own HOME and 'wine'
  (because of permissions) and 'dub' (can't find packages) don't
  like that.
* Remove the seccomp option, doesn't seem to be needed.
2020-12-11 13:45:11 -08:00
Dylan Baker d4328011cf ci: run msys2 on run_unittests.py changes 2020-12-11 17:46:11 +05:30
Dylan Baker c94781b2e6 ci: rebuild macos image on run_unittest.py changes 2020-12-11 17:46:11 +05:30
Christoph Reiter c2f647867e CI: install glib for the MSYS2 jobs to make pkgconf happy
Fixes a test when using pkgconf instead of pkg-config.

The .pc file in the pkgconfig-gen test requires it and pkgconf seems be
stricter here and fails to validate.
2020-11-23 02:14:09 +02:00
Christoph Reiter 9d3aa63681 CI: fix a typo in the msys2 workflow trigger paths 2020-11-23 02:14:09 +02:00
Dylan Baker 3372924007 CI: combine macos and ci_frameworks actions
We're already covering most of the actions through the generic macos
actions, but we should keep the qt4 action.
2020-11-11 07:42:40 -08:00
Dylan Baker 3ffe77ba2c actions: Add project tests actions for macos 2020-11-11 07:42:40 -08:00
Dylan Baker 220da39c7c actions: Add unittests for macos 2020-11-11 07:42:40 -08:00
Dylan Baker 71814049a1 workflows: be more conservative about launching msys
we don't want to lanuch it if we're only modifying a different workflow
template.
2020-11-10 12:44:26 -08:00
Christoph Reiter a7edbc6ee5 CI: install pytest pytest-xdist for msys2 2020-11-04 18:13:58 +02:00
Christoph Reiter f000fa407d CI: Port MSYS2 from azure-pipelines to github actions
This uses the msys2/setup-msys2@v2 to set up MSYS2
2020-11-04 18:13:58 +02:00
Jussi Pakkanen bca90722ec Bump minimum supported Python version to 3.6. Closes #6297. 2020-10-30 11:18:11 +02:00
Daniel Mensinger b27af7e465
cmake: Add cross tests 2020-10-13 17:04:20 +02:00
Dylan Baker b7cb30e175 dependencies/hdf5: Convert to a dependency_factory
Instead of a mega dependency that does everything, use a dependency
factory for config-tool and pkg-config
2020-09-25 11:11:46 -07:00
Jon Turney 36600d7465 Add a test run in an environment which only has a cross compiler
Add '--cross-only' option to run_tests.py, so we can arrange not to run
tests in the 'native' suite when only a cross-compiler is available, as
they can't succeed.
2020-09-10 07:20:41 +00:00
Daniel Mensinger ce042f318e
typing: Add run_mypy.py for easier mypy invocation 2020-09-08 20:15:56 +02:00
Jussi Pakkanen 97177bc12a
Merge pull request #7689 from scivision/fortran_inc
correct Fortran include algorithm
2020-09-06 20:28:39 +03:00
Michael Hirsch 011210ee14 ci: update to use latest recommendations 2020-09-06 20:27:40 +03:00
Michael Hirsch d01fc3da8f
tests: add fortran cmake subproject include test
ci:unused_arg: update ninja version to work with fortran+cmake
2020-09-03 00:20:07 -04:00
Dylan Baker d42cd735a4 arglist: Fix remaining mypy errors and warnings
So we can lint it with mypy
2020-06-22 12:06:10 -07:00
Nirbheek Chauhan 4a5aec2fc0 ci: Pin ninja to 1.9.0.post1 for now
See: https://github.com/mesonbuild/meson/pull/7306#issuecomment-643606736
2020-06-13 12:47:45 +00:00
Jon Turney cd566d2bd5 CI: pin pylint
Pin pylint version to workaround https://github.com/PyCQA/pylint/issues/3524
2020-04-30 09:59:06 -07:00
Daniel Mensinger eefc7d450c
ci: Upgrade to checkout@v2 2020-04-28 18:47:00 +02:00
Daniel Mensinger afffb9e57d
ci: Added bionic image 2020-04-28 17:54:02 +02:00
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.
2020-04-17 10:49:08 -07:00
Daniel Mensinger 1257002d12 ci: Fix passing env vars 2020-04-10 13:09:52 +02:00
Daniel Mensinger c7326aa098 ci: Added cuda image (Arch Linux based) 2020-04-05 22:54:29 +03:00
Daniel Mensinger c17ed429be
ci: Retry if dub fetch failed 2020-04-02 12:40:56 +02:00
Daniel Mensinger 3b1353ce81
ci: Automatically build and publish images 2020-04-02 09:47:06 +02:00
Daniel Mensinger 0d3d069a7f
ci: Use new images in OS Comp 2020-04-02 09:47:06 +02:00
Xavier Claessens 32b4bfaa74 Fix failing rust CI
rustc 1.42 now dynamically link to libstd so its path is needed in
LD_LIBRARY_PATH.
2020-03-19 19:03:44 +02:00
Dylan Baker 424190928a ci: Add mesonlib to modules to lint with mypy 2020-03-05 09:58:52 -08:00
Dylan Baker 1210a67f66 mesonbuild: Add mcompile command
This is tested working with both msbuild and ninja/samu. Since our xcode
support is pretty much broken I didn't bother.

Fixes #6670
2020-03-04 14:07:27 -05:00
Daniel Mensinger ad5df1b9c3
types: Annotate ast/introspection.py 2020-03-02 10:44:01 +01:00
Daniel Mensinger c14aea2812
types: Annotate mparser.py
This also fixes that the keys in ArgumentNode.kwargs are
all of the type BaseNode now. Before this commit, it was
possible that both strings and Nodes where used as keys.
2020-03-02 10:34:55 +01:00
Dylan Baker 74452f2a1c mlog: fix remaining mypy errors and add to mypy check
There were two things mypy was warning about:
1) it doesn't understand hasattr()
2) It was possible for mlog.{error,warning,deprecation} to get passed
   multiple values for the once keyword argument.
2020-02-29 00:55:46 +02:00
Daniel Mensinger 96f5d4e455
boost: Updated tests 2020-02-20 13:38:45 +01:00
Daniel Mensinger 038e0293c6 ci: Add Fedora and OpenSUSE images 2020-02-11 19:02:25 +02:00
Daniel Mensinger 71baca7abe ci: Add Arch Linux OS test 2020-01-29 23:59:23 +02:00