Commit Graph

152 Commits

Author SHA1 Message Date
Lukas Dürrenberger
758f0804b8 Add GitHub Sponsors and OpenCollective buttons 2024-10-09 17:22:05 +02:00
Chris Thrasher
46a1b568a9 Stop uploading code coverage from non-pull request CI runs 2024-10-08 08:32:42 +02:00
Chris Thrasher
a9298df466 Upgrade all macOS 12 CI jobs to macOS 13 2024-10-03 19:13:55 -06:00
Chris Thrasher
c67e835e81 Remove Android CI unit testing infrastructure
Initially we had 3 of 4 Android CI jobs running the tests. Various
problems caused us to disable testing in 2 of those 3 jobs. Now
we're dealing with the last Android CI job failing to run the tests.
Because this is blocking CI and because the value of running these
tests it not especially high, I am removing this testing
infrastructure. We can reconsider this decision in the future if a
more reliable solution is found.

This is a reversion of most of 2386653.
2024-10-03 14:34:07 -06:00
Chris Thrasher
4e77e3ee95 Revert to LLVM 18 until we can upgrade to macOS 14 images 2024-10-01 14:51:41 -06:00
Lukas Dürrenberger
2dd72be036 Fix Windows ARM64 support with regards to Mesa 3D
- Only fail the Mesa 3D arch check, if it's been enabled
- Add a cross-compilation CI job for Windows ARM64
- Fix ARM64 architecture detection for the Ninja generator
2024-09-14 13:44:34 +02:00
Chris Thrasher
5e56f01612 Use macOS to build documentation 2024-09-11 16:02:01 -06:00
Chris Thrasher
ab109cd3cd Use ON and OFF for CMake booleans
CMake supports a number of strings for truthy and falsey values.
ON/OFF and TRUE/FALSE are the most popular but 1/0 is also supported.
This is mostly a style choice but I'm inclined to believe that ON/OFF
is the most popular option and I'm generally in favor of style
choices that better align with the community at large.
2024-09-11 14:36:13 -06:00
Chris Thrasher
8ed98e337b Treat Doxygen warnings as errors 2024-08-31 12:02:59 -06:00
rini c
d324367603
Warn about the current state of development in the pull request template (#3199) 2024-08-22 09:16:40 +01:00
vittorioromeo
86c1a71a93 Remove default empty state of sf::Event 2024-06-23 19:11:10 +02:00
vittorioromeo
db245a440f Enable standard library assertions in CI 2024-06-23 08:37:06 +02:00
Chris Thrasher
8805b93c57 Work around errors with code coverage upload job 2024-06-18 11:04:39 -06:00
Lukas Dürrenberger
c71d456550 Revert "Update LLVM on Windows manually"
This reverts commit 84a448f495.
2024-06-12 12:44:40 -05:00
Lukas Dürrenberger
84a448f495 Update LLVM on Windows manually 2024-06-09 22:51:47 -05:00
Chris Thrasher
100c9a3e35 Use fixed versions of CI images 2024-06-04 19:22:03 -06:00
Paul Meffle
92bba1ed6f Add support for raw mouse input 2024-06-04 13:24:10 -06:00
Chris Thrasher
9f71ad3b24 Upgrade clang-tidy for Linux jobs 2024-05-21 01:06:16 -06:00
Chris Thrasher
c89c32d7ba Allow more GitHub Actions runners to run the audio tests. 2024-05-16 15:14:44 -06:00
Chris Thrasher
9722fb3724 Add tests for Audio module types 2024-05-16 12:06:21 -06:00
Chris Thrasher
c0f9c78308 Remove redundant cache var assignment 2024-05-14 16:51:23 -06:00
Chris Thrasher
67fae8a301 Work around stalled Android CI job 2024-05-07 08:13:34 +02:00
Chris Thrasher
2d9cc54242 Work around failing network test on Android x86_64 API 24 2024-05-06 03:16:05 +00:00
binary1248
2386653bd3 Add GitHub actions support for running x86, x86_64 and arm64-v8a Android tests using an Android emulator. 2024-05-04 17:22:12 +00:00
trustytrojan
ca0a231b35 Add operator bool() to sf::Event for checking if the event type is not Empty 2024-05-03 22:50:59 +00:00
Chris Thrasher
59447dd8e5 Rewrite sf::Event API to improve type safety
This new API is built on top of std::variant. This allows us to
store many different event types in a space-efficient way and access
the active event type in a type-safe manner that eliminates the
categories of UB that are possible with unions.

Co-authored-by: kimci86 <kimci86@hotmail.fr>
2024-05-01 18:00:58 +00:00
binary1248
34fde883b9 Replaced OpenAL with miniaudio.
Co-authored-by: Chris Thrasher <chrisjthrasher@gmail.com>
Co-authored-by: kimci86 <kimci86@hotmail.fr>
Co-authored-by: vittorioromeo <mail@vittorioromeo.com>
2024-04-25 10:24:11 +02:00
Chris Thrasher
7bb97a85b1 Compile unit tests for iOS and Android
While you can't easily run these unit tests, it's easy enough to
still compile them so we don't need to go out of way to prohibit
this. CMake has some support for running tests on the target OS
so perhaps in the future we find a compelling way to run the test
suite on a mobile OS.
2024-04-13 11:49:45 -06:00
Lukas Dürrenberger
8ccf534993 Revert disabling brew update 2024-04-12 10:25:35 -06:00
binary1248
7e1765717a Fixed coverage data not being collected for MinGW builds because OpenCPPCoverage relies on pdb data being available. 2024-04-11 17:32:24 -06:00
Chris Thrasher
b17150d3c0 Disable code coverage upload in forks 2024-04-11 16:08:32 -06:00
binary1248
90fb07066b Replaced Codecov with Coveralls. 2024-04-11 10:46:27 -06:00
Lukas Dürrenberger
a742b2158f Allow failure of coverage uploads due to rate limits 2024-04-10 23:40:32 +02:00
Lukas Dürrenberger
2b6194a632 Switch back to Codecov GitHub Action with our own token 2024-04-10 23:40:32 +02:00
Chris Thrasher
544a9a8a79 Remove redundant line 2024-03-29 09:58:44 -05:00
Chris Thrasher
2a48b34386 Upgrade CI actions to fix deprecation warnings 2024-02-20 14:28:18 -07:00
Lukas Dürrenberger
e50f7b9759 Add a macOS arm64 build to CI pipeline 2024-02-17 01:38:33 +00:00
Chris Thrasher
32a5440bb8 Fix CI deprecation warnings 2024-02-16 02:08:34 +00:00
Chris Thrasher
1e6eaa5d91 Disable display tests in OpenGL ES CI jobs 2024-02-15 23:40:46 +00:00
vittorioromeo
f3d5762a17 Add static PCH CI jobs for Windows/Linux 2024-02-09 12:52:37 +01:00
Bruno Van de Velde
9cd703aa10 Update location of sdkmanager for Android builds 2024-01-14 15:34:14 -07:00
Bruno Van de Velde
4665d5554a Build the android example in CI 2023-11-14 16:04:30 -07:00
Chris Thrasher
39ba64cfc6 Upgrade to Android NDK r24 2023-11-08 17:13:55 -07:00
binary1248
4fce7e4991 Embed MSVC debugging information when building using a compiler launcher in order to allow ccache to cache compiler output when running a CI workflow. 2023-11-07 10:31:00 -07:00
Chris Thrasher
9b223b45a5 Remove references to C compilers 2023-11-06 11:57:47 -07:00
binary1248
2a8a01ca6c Perform the majority of GitHub Actions workflow MSVC building using Ninja with the exception of ClangCL+MSBuild. 2023-11-05 21:53:58 +01:00
binary1248
ea6cf002b6 Added support for running the GitHub actions workflow using CCache. 2023-11-04 00:37:18 -06:00
Chris Thrasher
9a8ca3227f Add UBsan to CI 2023-10-27 16:36:38 -06:00
Chris Thrasher
0512748fce Run clang-tidy on OpenGL ES codepaths 2023-10-26 22:11:59 -06:00
Lukas Dürrenberger
e45628e2eb Add a support file 2023-10-23 11:41:04 -05:00