Commit Graph
103 Commits
Author SHA1 Message Date
tyranron 03aa6b89bf Revert "Reapply "Temporary remove other CI pipelines""
This reverts commit 45a83c726e.
2025-02-17 16:52:23 +02:00
tyranron 70b7e1146c Try on latest QEMU version 2025-02-17 16:49:00 +02:00
tyranron 9b47f43be3 Test QEMU 9.2.0 2025-02-17 16:41:49 +02:00
tyranron 45a83c726e Reapply "Temporary remove other CI pipelines"
This reverts commit 431f5d60e9.
2025-02-17 16:41:45 +02:00
tyranron 431f5d60e9 Revert "Temporary remove other CI pipelines"
This reverts commit 27b0ed91fa.
2025-02-17 16:31:30 +02:00
tyranron acd8571e53 Fix 2025-02-17 16:31:03 +02:00
tyranron b2b604e7f3 Try QEMU 6.1.0 2025-02-17 16:24:22 +02:00
tyranron eee05f98aa Test 2025-02-17 16:20:36 +02:00
tyranron 61b90667de Test 2025-02-17 16:14:02 +02:00
tyranron 0b2e2f21cf Test 2025-02-17 16:11:48 +02:00
tyranron ed1b6b0b88 Test 2025-02-17 16:09:23 +02:00
tyranron 82bd4c7b03 Test 2025-02-17 16:03:26 +02:00
tyranron 2021c91fb3 Test 2025-02-17 15:56:12 +02:00
tyranron 42a4b5d574 Test 2025-02-17 15:56:01 +02:00
tyranron 98490d60d4 Test 2025-02-17 15:52:58 +02:00
tyranron d91f373fc8 Test 2025-02-17 15:48:49 +02:00
tyranron 6767be6295 Test 2025-02-17 15:45:19 +02:00
tyranron 8c1eebb952 Test 2025-02-17 15:39:56 +02:00
tyranron 957866cb3c Test 2025-02-17 15:30:55 +02:00
tyranron a27cd4f5dd o.O 2025-02-17 15:23:28 +02:00
tyranron e351d20095 o.O 2025-02-17 15:19:31 +02:00
tyranron 27d3ea427e Wtf, man 2025-02-17 15:03:42 +02:00
tyranron 2e24318efb Facepalm fix 2025-02-17 15:00:18 +02:00
tyranron 27b0ed91fa Temporary remove other CI pipelines 2025-02-17 14:56:55 +02:00
tyranron e4ca608e01 Test 2025-02-17 14:55:14 +02:00
tyranron 0c7f5877f5 Upd 2025-02-17 14:50:17 +02:00
tyranron 4945a42349 Decrease Docker BuildKit max-parallelism for ppc64le arch 2025-02-17 14:34:06 +02:00
Pavel Punsky c98bb93514 Fix cmake issues detecting mongo and libsystemd on macOS (#1621)
- libsystemd does not exist on macOS - ignore it and reduce warnings
during cmake step
- mongo-c has cmake file on macOS - reusing the same code path and
reduce warnings
2024-12-27 14:52:44 -08:00
Pavel Punsky 3370eaf12d Do not build with Ubuntu 18, use 24 (#1613)
Re-delete file that was undeleted accidentally
2024-12-15 17:37:03 -08:00
Michael JonesandPavel Punsky c9878469fc [BREAKING] Remove support for openssl older than 1.1.1 (#1397)
Openssl 1.1.1 is end-of-life in September 2023.
This PR removes support for versions of openssl OLDER than 1.1.1
1.1.1 should still be usable after this change is merged.

I don't see any value in supporting 1.1.1, but didn't see a reason to
purge support for 1.1.1 when there are so few checks for >= 3.0.

Note that this does also remove CI support for Ubuntu 16.04. The
official version of OpenSSL from Ubuntu for this release is listed here:
https://launchpad.net/ubuntu/+source/openssl as 1.0.2g

Since no newer releases of coturn will be backported by Canonical to
Ubuntu 16.04, anyone using Coturn on this operating system will have to
download and compile it themselves. They may build their own version of
OpenSSL if they somehow cannot upgrade to a newer version of Ubuntu.

My position is that these users should prefer to upgrade to a newer
operating system than worry about chasing newer releases of Coturn.

Co-authored-by: Pavel Punsky <eakraly@users.noreply.github.com>
2024-12-13 13:06:24 -08:00
Kai Ren adae3dda3e Refactor CI workflows and fix failures due to Node.js 20 (#1610, actions/checkout#1809) 2024-12-11 19:27:05 +01:00
Pavel Punsky 329cda4715 Fix cmake and prometheus test build jobs (#1608)
Some actions do not build with prometheus - adding prometheus tests
fails the jobs
cmake build tests did not run due to different target folder (while
reporting success) - now the bin folder is detected
2024-12-10 19:38:39 -08:00
Alex GustafssonandPavel Punsky d63704c72d Implement custom prometheus http handler (#1591)
Implement a custom prometheus http handler in order to:

1. Support listening on a specified address as opposed to any
2. Remove the requirement on the unmaintained promhttp library

This feature comes with one limitation: if an IPv4 address is used, the
server will not listen on the IPv6-mapped address, even if IPv6 is
available. That is, dual-stacking does not work.

Solves: #1475

---------

Co-authored-by: Pavel Punsky <eakraly@users.noreply.github.com>
2024-12-10 10:28:43 -08:00
Pavel Punsky 4c2a2d568f Install openssl-1.1.1 on amazonlinux:2 instead of openssl-1.0.1 (#1595)
In preparation to deprecation of openssl below version 1.1.1 switch to
using openssl-1.1.1 on amazonlinux:2 (where 1.0.2 is the default)

Fixes build issue for #1397
2024-11-14 16:59:31 -08:00
Michael Jones ba0ea42914 Fix nodejs/glibc problem with old container images. (#1548)
This problem is caused by this issue:
https://github.com/actions/checkout/issues/1809

Several comments include documentation on various environment variables
to force it to use the older nodejs release still, but probably those
various workarounds will stop working eventually.
2024-08-04 15:40:17 -07:00
Pavel Punsky c7d431a36a Memset user_db before reading conf file, not after (#1537)
Fixes #1533 and #1534

Memsetting `turn_params.default_users_db` before reading conf file, not
after.
Because auth is read in first iteration so secret was wiped out.

# test plan
Add new test script that uses config file to setup turnserver instead of
cli arguments and confirm it works (fails without the change)
2024-07-14 16:59:26 -07:00
redraincatching 295b9cfe1a added support for amazon linux and renamed tests.yml (#1401)
superseding changes made in pr
https://github.com/coturn/coturn/pull/1394 on request of @jonesmz

dependent on pr https://github.com/coturn/coturn/pull/1399 - uses the
composite action for dependency installation i wrote there

added YAML file for amazon linux and renames tests.yml to
ubuntu_tests.yml for clarity
2024-06-16 18:18:50 -07:00
Michael Jones a394fb1cee Simplify workflow for codeql (#1517) 2024-06-02 16:34:29 -07:00
Michael Jones d1db5e590d Include what you use (#1512)
Use the include-what-you-use program to (partially) clean up header
includes, so that only includes which are needed, and no includes that
are not needed (or at least closer to that ideal) are done.

For a c-language project, the build-time improvements from this change
is minimal. This would have a much bigger impact on a C++ project than a
C-project for build times.

So for coturn, this change is mostly intended to just provide
consistency and make it easier to locate weird issues like strange
dependencies, and unnecessary connections between code.
2024-06-01 18:13:08 -07:00
Michael Jones ebf7587aaf Remove deprecated macos-11, add macos-13 and macos-14 (#1511) 2024-06-01 18:10:55 -07:00
Michael Jones 6f82083ea3 Run all of the CI except for Docker builds on any change (#1415)
I'm having trouble testing changes in my own fork because many of the CI
workflows are only set to build on a pull request.

Better to just build on any commit.

I've left the docker builds as they are.
2024-05-27 13:50:43 -07:00
Michael Jones 544382f313 Fix mingw and MSVC ci build (#1491) 2024-05-27 13:43:40 -07:00
Michael Jones 525550ab86 Always run lint, regardless of branch (#1492)
Someone working on a branch in their own fork won't see the lint running
on their github-actions CI until they open a pull request.

It'd be much easier to ensure changes being worked on are going to pass
the linter if the linter runs before the last step of opening the PR.
2024-05-26 18:27:39 -07:00
redraincatching e96f22ab71 workflow tidying (#1396)
Normalisation of some of the workflow files
2024-04-09 23:18:03 +02:00
dependabot[bot] 9a79c813e3 Upgrade softprops/action-gh-release GitHub Action from 1 to 2 version (#1449) 2024-03-11 11:40:29 +01:00
redraincatching 294a2b69a0 ubuntu build dependencies extracted to composite actions (#1399)
superseding changes made in pr #1394 on request of @jonesmz 

extracted ubuntu build dependencies into a composite action for
maintainability reasons
2024-03-02 13:45:24 -08:00
Michael Jones da332ed9e7 Add the InsertBraces command for clang-format to ensure that all conditionals always have braces (#1408)
- Why? Because code where conditionals lack braces is much harder to read, and prone to indentation confusion.
- How? Just added an extra flag to .clang-format and re-ran clang-format on all the files.

I also moved .clang-format up to the top level of the repo so that it can be applied to the fuzz targets as well.
2024-01-27 16:38:40 -08:00
168305494d Exclude testing alpine Docker image on s390x arch on CI due to QEMU emulation problems (#1395, #1390)
Co-authored-by: Kai Ren <tyranron@gmail.com>
Co-authored-by: Michael Jones <jonesmz@users.noreply.github.com>
2024-01-24 13:08:08 +01:00
dependabot[bot] 8aa827acd9 Bump actions/cache from 3 to 4 (#1385)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-17 22:15:38 -08:00
dependabot[bot] 9a8408725a Bump github/codeql-action from 2 to 3 (#1386)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-17 22:14:57 -08:00