0
0
Fork 0
mirror of https://github.com/mumble-voip/mumble.git synced 2025-03-16 05:23:43 +00:00
Commit graph

36 commits

Author SHA1 Message Date
Hartmnt
e57f6c52b3 MAINT(ci): Update to macOS 14 on Azure Pipelines
The macOS 12 image has been removed.

We skip version 13 since we always run the latest macOS on our own builder anyway.
2025-01-15 17:48:29 +01:00
Robert Adam
330c356e71 MAINT: Remove copyright year from all copyright notices
Keeping these up-to-date is just super tedious and they don't really
fulfill any purpose these days.
2024-09-30 18:06:20 +02:00
Davide Beatrici
de91daae08 BUILD: Switch to Qt 6 and C++17 2024-09-19 04:44:07 +02:00
Robert Adam
d1be065d08 MAINT(ci): Upgrade to Ubuntu 22.04 on Azure Pipelines
For the previously used Ubuntu 20.04, it is only a matter of time until
they remove this VM image.
2024-07-06 14:58:44 +02:00
Robert Adam
a15aa1e7a6 MAINT(ci): Upgrade to macOS 12 on Azure Pipelines
The macOS 11 image has been deprecated and is likely to (or already has
been?) be removed entirely.
2024-06-29 13:51:35 +02:00
Robert Adam
f4eb9f8665 CI: Update Windows & macOS build envs 2024-01-01 13:56:33 +01:00
Robert Adam
d586a37368 MAINT: Update Windows build env to latest version 2023-10-07 08:48:15 +02:00
Robert Adam
362b092e7e
Merge PR : CI(windows): Auto-determine path to vcvars script
This way, we won't have to update the path every time we update the used Visual Studio version (and find the correct one via trial & error).
This solution makes use of Microsoft's vswhere script (see microsoft/vswhere) to locate the VS installation directory. Based on that, we assemble the required path.
2023-01-09 16:12:04 +01:00
Robert Adam
da306c95dc CI(windows): Auto-determine path to vcvars script
This way, we won't have to update the path every time we update the used
Visual Studio version (and find the correct one via trial & error).
This solution makes use of Microsoft's vswhere script
(see https://github.com/microsoft/vswhere) to locate the VS installation
directory. Based on that, we assemble the required path.
2023-01-09 15:40:48 +01:00
Robert Adam
249d2c6298 MAINT: Update copyright headers to 2023 2023-01-08 15:54:35 +01:00
Robert Adam
611274ac20 CI(azure): Update to Ubuntu 20.04 2022-09-10 09:46:57 +02:00
Robert Adam
de7a0db230 CI(macos): Use correct build env on macOS nightly builds 2022-05-18 09:57:02 +02:00
Robert Adam
8c437640ae CI(macos): Use azure-hosted runner
We used to use a self-hosted macOS CI runner but since we were only
using that for Nightly builds, we frequently ran into situations where
some issue was only appearing there which meant that while for the PR
the CI succeeded, it would fail after the change had been merged in.

As this is not a desirable situation, this commit makes sure that we are
using the same macOS runner for all CI runs. For simplicity we are using
the Azure hosted ones for that purpose.
2022-05-17 09:33:48 +02:00
Davide Beatrici
82749a88f0 CI: Update build environment(s) 2022-05-17 08:04:11 +02:00
Davide Beatrici
f669e9d377 CI: Remove x86 Windows build(s)
f999081ab8 enabled the MySQL plugin for Qt.

Turns out its master dependency (libmysql) cannot be built for x86:
https://github.com/microsoft/vcpkg/issues/11214

This issue leaves us with two choices:

1. Get rid of x86 builds altogether.
2. x64 builds with MySQL plugin, x86 ones without. Potential confusion.

We asked on our Matrix channel whether anyone used official x86 releases.
Nobody did, which is a very good thing considering x86 (32 bit) CPUs are no more.

In addition to that, Microsoft dropped the platform with Windows 10 2004.
2022-05-11 09:35:28 +02:00
Robert Adam
4582868dca CI(azure): Pin to VS2022
The automatic upgrade from VS2019 to VS2022 broke our build and in order
to prevent that in the future, we now pin the used VS version to 2022.
Later upgrades will have to be performed explicitly.
2022-03-31 17:43:37 +02:00
Robert Adam
d100ff1467 MAINT: Update copyright to 2022 2022-01-04 20:17:33 +01:00
Davide Beatrici
9558f939e1 CI: Update to latest vcpkg environment 2021-07-28 00:56:30 +02:00
Robert Adam
adef045be3 CI(azure): Update to latest vcpkg env version 2021-05-11 18:24:30 +02:00
Davide Beatrici
fba63c731e MAINT(ci): Move Windows scripts outside of the "azure-pipelines" folder
This commit also ensures we only use variables defined in the configuration file(s).

WixSharp is updated to the latest version.
2021-04-29 08:39:20 +02:00
Robert
56db3410c5 MAINT: Update copyright notice to 2021 (Part II)
Apparently the first commit (59ae429972)
did not include all files.

Furthermore the used script tended to produce funny results in certain
cases. This has been fixed and as a result thereof a few more changes
were made in this second run.
2021-04-09 15:41:49 +02:00
Robert Adam
c5db8276b3 CI(azure): Clean entire workspace before starting
On our self-hosted macOS runner we were seeing issues due to the
workspace not being cleaned up after each run, causing the next one to
fail.

This commit makes sure that Azure will clean the entire workspace of any
remaining files, before starting a new job.

Ref: https://docs.microsoft.com/en-us/azure/devops/pipelines/process/phases?view=azure-devops&tabs=yaml#workspace
2021-04-06 09:11:20 +02:00
Robert Adam
cdbc405887
Merge pull request : MAINT: Copyright update
This PR updates the copyright notices of all files. For doing so
it introduces a script that can do this automatically.

Furthermore a few files that are no longer needed got removed.
2021-03-02 19:31:28 +01:00
Robert Adam
13b1340469 CI(windows): Increase timeout
The timeout has been increased for the Windows CI builds. The new
timeouts are:
- x64: 90 minutes
- x86: 120 minutes

x86 has the higher timeout because it always takes quite a bit longer
than the x64 build.

The timeout was increased as we frequently see the CI job being
cancelled because it did not finish within the default 60 minutes
timeout.
2021-03-02 10:31:23 +01:00
Robert Adam
59ae429972 MAINT: Update copyright notice to 2021
This was done by running scripts/updateLicenseHeaders.py and then
manually editing the LICENSE file.
2021-03-02 10:15:01 +01:00
Davide Beatrici
930c2ad4bc CI(azure): Update to latest vcpkg environment 2021-02-17 02:50:34 +01:00
Davide Beatrici
9be37c9f23 CI(azure): Simplify and improve job name for Windows builds
This fixes the last build failure, which was due to the job's display name containing spaces.

"x86_64" is changed to "x64" as the latter appears to be the most common identifier for the architecture, at least for Windows.
2021-01-23 00:24:45 +01:00
Davide Beatrici
5d8d17a45a CI(azure): Fix usage of BUILD_NUMBER_TOKEN
Turns out environment variables cannot be exported globally:

"/.ci/azure-pipelines/main.yml (Line: 7, Col: 1): Unexpected value 'env'"

It has to be done for each step that makes use of the variable.

Furthermore if a variable is not defined on Azure, the expansion
$(MY_VARIABLE) does not resolve to an empty String (as is the case e.g.
in Bash) but this expression is then taken literally without any
expansion at all. Therefore we have to make sure that the
BUILD_NUMBER_TOKEN variable is always defined. Thus we define it in
main-pr.yml as for PRs we don't define it on Azure.

In order for these variables to not interfere with each other, the
variable name inside the scripts was prefixed with MUMBLE_
2021-01-22 09:08:46 +01:00
Davide Beatrici
bce52a5bdb CI(azure): Manually export BUILD_NUMBER_TOKEN, required because secret
https://docs.microsoft.com/en-us/azure/devops/pipelines/process/variables?view=azure-devops&tabs=yaml%2Cbatch#secret-variables
2021-01-10 07:15:57 +01:00
Robert Adam
54fd2209b2 CI(azure): Upgrade Ubuntu image to 18.04 2020-10-23 19:56:24 +02:00
Davide Beatrici
57d5b8a246 CI(azure-pipelines): switch to latest Windows x86_64 build environment
The x86 build is already using the latest environment because it was introduced very recently.
2020-08-09 01:23:14 +02:00
Robert Adam
dd31b119ae CI(azure): Don't overwrite build artifacts
As of now the built x86 files overwrite the x64 ones since the x64
build is usually done first but they both produce files of the same
name.

With this commit the build artifacts for x86 and x64 are separated.
2020-08-04 15:42:55 +02:00
Davide Beatrici
c64e748e6f CI(azure-pipelines): add 32 bit Windows build
As with the 64 bit build, it uses a build environment we provide on our website.
2020-08-02 20:01:57 +02:00
Davide Beatrici
b05c353448 CI(azure-pipelines): use our own macOS builder for releases
MacStadium kindly provided us an hosted 2012 Mac mini for free last year.

Until now we only used it for testing and to build the vcpkg environment, waiting for the CMake project to be merged.

Now that everything is in place, we can use it for CI and to release builds.
2020-07-18 03:52:47 +02:00
Davide Beatrici
307b5b9bf6 CI(azure-pipelines): fix template paths
I accidentally forgot to do it in 461725c620 (no CI to remind me about it because it couldn't run due to the file being moved).
2020-07-18 02:42:49 +02:00
Davide Beatrici
ac38b53ee3 CI(azure-pipelines): add configuration for non-PR builds
For now the only difference with the PR configuration is the removal of the translation checker.
2020-07-18 02:20:05 +02:00