Nirbheek Chauhan
523204f1f1
ci: Don't error out CI if codecov upload fails
2 years ago
Nirbheek Chauhan
c0c9f755a4
ci: Move to the codecov github action
...
The pypi package was suddenly removed. Not the most
confidence-inspiring deprecation/migration:
https://about.codecov.io/blog/message-regarding-the-pypi-package/
2 years ago
Eli Schwartz
e0b63d539e
add a CI runner testing that Meson runs correctly under PyPy3
...
Silence a couple of framework tests that need to be skipped since we
don't install their dependencies for pypy3.
2 years ago
Eli Schwartz
01c8205864
github workflows: upgrade actions/checkout to version 3
...
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...
2 years ago
L. E. Segovia
0ddca4d0d0
ci: Fix usage of concurrency in branches other than master
2 years ago
neilnaveen
5f8b0487ab
chore: Set permissions for GitHub actions
...
Restrict the GitHub token permissions only to the required ones; this way, even if the attackers will succeed in compromising your workflow, they won’t be able to do much.
- Included permissions for the action. https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions
https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions
https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs
[Keeping your GitHub Actions and workflows secure Part 1: Preventing pwn requests](https://securitylab.github.com/research/github-actions-preventing-pwn-requests/ )
Signed-off-by: neilnaveen <42328488+neilnaveen@users.noreply.github.com>
2 years ago
Daniel Mensinger
d5f30308b4
ci: Fix missing MESON_CI_JOBNAME in the image builders
3 years ago
Daniel Mensinger
cab77b0e4c
ci: Use GitHub concurrency
3 years ago
Xavier Claessens
7eb4c23156
Split run_unittests.py file
3 years ago
Jon Turney
609864a66d
Annotate framework tests with where they are expected to skip
...
Remove hard-coded framework test skip logic in skippable(), instead
annotate test.json with environments in which skip is expected.
(Mainly this is done with by testing the value of MESON_CI_JOBNAME now
set for linux jobs)
3 years ago
Daniel Mensinger
c4b8e03895
tests: both_library test improvements
...
This switches some `shared_library()` calls to `library()` and adds
one new CI matrix entries for -Ddefault_library={static, both}.
4 years ago
Daniel Mensinger
765aff5a42
coverage: Enable coverage reports
4 years ago
Dylan Baker
38025b9730
ci: fix yaml syntax error
4 years ago
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.
4 years ago
Dylan Baker
cbdef0479e
workflows/os_comp: Don't run if there aren't relavent changes
4 years ago
Nirbheek Chauhan
832bcac0a7
ci: Run github workflows on stable branches too
4 years ago
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.
4 years ago
Jussi Pakkanen
bca90722ec
Bump minimum supported Python version to 3.6. Closes #6297 .
4 years ago
Michael Hirsch
011210ee14
ci: update to use latest recommendations
4 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
Daniel Mensinger
eefc7d450c
ci: Upgrade to checkout@v2
5 years ago
Daniel Mensinger
afffb9e57d
ci: Added bionic image
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
Daniel Mensinger
1257002d12
ci: Fix passing env vars
5 years ago
Daniel Mensinger
c7326aa098
ci: Added cuda image (Arch Linux based)
5 years ago
Daniel Mensinger
c17ed429be
ci: Retry if dub fetch failed
5 years ago
Daniel Mensinger
0d3d069a7f
ci: Use new images in OS Comp
5 years ago
Xavier Claessens
32b4bfaa74
Fix failing rust CI
...
rustc 1.42 now dynamically link to libstd so its path is needed in
LD_LIBRARY_PATH.
5 years ago
Daniel Mensinger
96f5d4e455
boost: Updated tests
5 years ago
Daniel Mensinger
038e0293c6
ci: Add Fedora and OpenSUSE images
5 years ago
Daniel Mensinger
71baca7abe
ci: Add Arch Linux OS test
5 years ago
Daniel Mensinger
a78f90c3f8
ci: Fix boost test on xenial
5 years ago
Daniel Mensinger
da7a1cf52a
ci: Install more packages
5 years ago
Nirbheek Chauhan
2c8e676e2b
tests: Fix some test failures on Ubuntun 16.04 CI
...
* xenial doesn't ship many dependencies, so make them all optional
since we don't guarantee that everything will work
* cmake/{5,6}: needs stdlib.h for EXIT_SUCCESS on GCC 5
* common/222: needs C++11, and GCC 5 doesn't understand `auto`
correctly unless we explicitly enable it.
* frameworks/1 boost: xenial doesn't ship boost_python3, so make it
properly optional
* frameworks/6 gettext: gettext can be installed without xgettext,
which doesn't cause the project to fail, but the installed files
list is different which causes the test to fail.
* frameworks/7 gnome: gobject-introspection can't be enabled because
the sanitizer unit test detects leaks in glib and fails
5 years ago
Daniel Mensinger
806068304b
ci: Add a Ubuntu 16.04 test
5 years ago