Commit Graph

34 Commits

Author SHA1 Message Date
Robert Adam
fa8734747f CI(github-actions): Upgrade to Node 20 actions
The v3 actions are based on Node 16 and are therefore deprecated.
2024-04-06 17:17:17 +02:00
Robert Adam
472a5f2849 CI(github-actions): Ensure build number tagging
If the actual build is skipped due to a duplicate workflow run, the
build  number script won't run. This can be problematic if this would
have been the only place where the script runs for the given commit as
that'll mean that for this commit no build number will be tagged on our
central server.

Therefore, we now fetch the build number in a separate step that will
not be skipped, if the build itself is skipped.
2023-01-14 14:32:13 +01:00
Robert Adam
0bd50f43f9 CI(github-actions): Update CodeQL workflow 2023-01-10 17:32:42 +01:00
Robert Adam
384d31714a CI(github-actions): Avoid duplicate runs 2023-01-10 17:32:42 +01:00
Robert Adam
23da8df813
MAINT: Give backport action a name 2023-01-04 16:12:25 +01:00
Robert Adam
dd34177b06 MAINT: Add auto-backport support 2023-01-04 13:43:21 +01:00
Robert Adam
815e8b1637
CI(github-actions): Update cache action
v2 of this action is now deprecated
2022-11-15 20:17:48 +01:00
Robert Adam
9c46926778 CI(github-actions): Update Ubuntu runners
We were still using a runner on Ubuntu 18.04, which is getting
deprecated by GitHub in the near future. In order to avoid having
failing CI jobs due to that and also in order to keep up with changes in
Ubuntu, we now build on 20.04 and 22.04 instead.
2022-10-14 20:02:00 +02:00
Vedant
6677d6ff5f CI(github-actions): Use versioned tags for winget-releaser 2022-10-03 05:22:33 +00:00
Robert Adam
6a26b2113e CI(github-actions): Fix workflow file syntax 2022-09-14 19:26:04 +02:00
Vedant
4551e98c85 CI(github-actions): Automatically publish to WinGet
This commit introduces an automatic approach that will publish the
Windows installers to the WinGet repository every time a release is
created on GitHub.

Fixes #5870
2022-09-11 09:19:32 +02:00
Robert Adam
d47b4ea3ba CI(github-actions): Display install paths 2022-09-10 17:28:34 +02:00
Robert Adam
2b93ef6bfd CI(github-actions): Use GA to manage stale issues
The bots that have been used since, seem to have gotten very unreliable.
2022-09-08 16:01:34 +02:00
Jan Klass
b925b99bf7 CI(codeql): Upgrade CodeQL version v1 -> v2
CodeQL Action v2 was released 2022-03-30.

Deprecation of v1 is scheduled for December 2022. [1]

[1] https://github.blog/changelog/2022-04-27-code-scanning-deprecation-of-codeql-action-v1/
2022-06-05 16:12:52 +02:00
Robert Adam
4e84f6b90f CI: Add dispatch for new releases 2022-05-07 20:51:41 +02:00
Robert Adam
df32f042e7 CI: Use checkout@v3
Also restrict ourselves to shallow clones for the Build workflow.
2022-05-01 17:35:23 +02:00
Robert Adam
4870147ac4 CI: Use proper Bash flags
Always use -e and -x to exit on error and to log what is going on.
2022-05-01 17:28:11 +02:00
Robert Adam
26d64edcc5 CI: Also fetch build number token on GA
GitHub Actions previously did not use the build number token. This is
changed by this commit. In order to to so, the build process has been
outsourced into its own script.
2022-05-01 17:20:19 +02:00
Robert Adam
b3dd3d3f79 CHANGE(server): Remove gRPC implementation
The gRPC implementation never left the experimental state and never
reached a properly stable state to the point where we would feel good
about enabling it by default. In addition to that, there has been no
further attempts at finding and fixing the encountered issues in the
implementation (except #3947 but that was discontinued).

As such we had an essentially unmaintained piece of code in our server
implementation that was known to be buggy and that nobody wanted to fix.
In addition to that the implementation itself could not be considered
very clean or elegant and therefore only represented a few smelly
corners in our code base.

For this reason, we decided to remove the gRPC support entirely from
Mumble (for now).

What we hope to gain by that is:
- Prevent people from building unstable server versions and then coming
to us complaining that it crashed/misbehaved
- Removing (essentially) dead code
- Reduce the RPC implementation complexity

That last piece is crucial: By removing gRPC support we reduce the
amount of supported RPC frameworks to only one (ignoring DBus for now).
Our future plans include a refactoring of how RPC is being handled and
implemented and only having to worry about maintaining compatibility
with one RPC system is much easier than having to worry about two (with
(slightly) different APIs).
Once the RPC implementation has been rewritten, more RPC backends may be
reintroduced and in that process we might investigate adding a proper
gRPC implementation to the code (that then hopefully is more stable than
the current one).

Fixes #4567
Fixes #4197
Fixes #3496
Fixes #3429
Fixes #3265
2022-03-16 08:23:38 +01:00
Robert Adam
c2b42aecb4 CI: Use --output-on-failure flag for ctest
This flag makes sure that the verbose output of running the test cases
is not shown, unless the test fails. In that case the full output is
displayed (for that test case).
2022-02-07 20:13:03 +01:00
Robert Adam
2480e1342e TEST(client): Settings JSON serialization 2022-02-07 20:10:23 +01:00
Robert Adam
df89dc1030 CI: Update clang-format action 2022-01-17 08:16:44 +01:00
Robert Adam
2f1b34d771 CI: Update clang-format action
The old version was using Ubuntu Groovy as a base, which went EOL in
July, 2020 and apparently now the package repositories (required to run
this action) have been shut down.

The newer release uses Ubuntu focal (20.04) which is an LTS and will
remain supported for a while.
2021-12-23 21:07:35 +01:00
Robert Adam
318e75a1ac CI: Add CodeQL analysis 2021-06-15 19:40:45 +02:00
Robert Adam
e9434420ba CI: Fix PR checks for backports
The commit style checker had a hard-coded assumption that the changes
were made against the master branch. For backports that is not the case
though and that's why the script fails for backports as soon as the
master and the backport branch have diverged.
2021-05-20 08:22:27 +02:00
Robert Adam
f8303557b7
MAINT: Removed outdated comment 2021-04-23 19:50:31 +02:00
Robert Adam
8ed36e8246 CI: Check code-formatting
This new check will fail if there is a c++ source code file that is not
formatted according to our project's formatting standards (specified via
.clang-format file).
2021-04-18 20:33:19 +02:00
Robert Adam
0f45328cd1 CI: Include submodules in checks CI 2021-04-18 20:32:51 +02:00
Robert Adam
a1bdff18a3 MAINT: Renamed CI job to "pr-checks" 2021-04-18 20:31:51 +02:00
Robert Adam
b48ca7caec CI: Added check to prevent CRLF endings 2021-03-28 20:17:38 +02:00
Robert Adam
d1f28fdabd CI: Use unity builds
On Linux (using shared library dependencies) this reduced the average
compilation time to about 50% of the originally needed time.
2021-03-06 18:57:22 +01:00
Robert Adam
f32c1eef38 CI: Omit online tests
Tests that require an active internet connection will now be omitted on
CI as they recently caused a bunch of CI jobs to fail just because some
external server was unreachable.
2021-03-03 17:14:29 +01:00
Robert Adam
9cb4a533a9 CI: Added commit-style check
This commit adds a CI check (on GitHub Actions) that checks every commit
in a PR for accordance to our commit guidelines.
2021-02-27 20:22:09 +01:00
Robert Adam
c03521593c CI: Introduce GitHub Actions
Now that Travis CI decided to stop offering their services for free, we
had to look for an alternative solution. GitHub Actions seems to fit the
picture really well and has the benefit of being tightly integrated into
GitHub (obviously).

For now only shared builds for Ubuntu 18.04 and 20.04 are included. The
scripts and the framework for also including static builds is part of
this commit as well but as it stands the static build always failed and
therefore it was given up upon for now.

Adding support for other OS will require a few tweaks and a couple of
new scripts but in general the framework was built with this kind of
extension in mind.
2020-11-29 17:40:15 +01:00