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
Chris Thrasher
0de21b8ce3
Promote Windows Unity build jobs to main CI matrix
2023-10-16 13:45:01 -05:00
Chris Thrasher
4ff0dabba3
Promote Windows OpenGL ES jobs to main CI matrix
2023-10-16 13:45:01 -05:00
Chris Thrasher
12439919c7
Promote Linux OpenGL ES jobs to main CI matrix
2023-10-16 13:45:01 -05:00
Chris Thrasher
bdd6ad5145
Promote DRM jobs to main CI matrix
2023-10-16 13:45:01 -05:00
Chris Thrasher
fb88d1a8b3
Set Bash as the default shell
2023-10-09 00:22:34 -06:00
binary1248
25bb6637eb
Cache packages downloaded when GitHub actions workflow is run.
2023-10-08 16:48:53 -06:00
binary1248
90ebf68ba3
Added GitHub Actions jobs to build with OpenGL ES on Linux GCC.
2023-10-08 12:13:41 -06:00
Chris Thrasher
e638d7a5e9
Simplify how tests are automatically re-ran in CI
...
The flakiness is theoretically limited to Linux where we have to
use xvfb-run in CI. Because the tests are ran on Linux via ctest
we can more easily use CTest's built-in support for rerunning
failed tests. We have yet to actually observe this flakiness after
the other changes added in #2474 so it's possible the flakiness
has been entirely addressed.
While I was at it I de-duplicated some code for printing OpenGL
information.
2023-10-05 16:56:05 -06:00
binary1248
e1fe3fdb06
Manually install MinGW when running GitHub Actions workflows.
2023-10-04 18:31:38 +02:00
Chris Thrasher
793ee75873
Only install MinGW when necessary
...
Installing MinGW 11 takes way too long to tolerate doing this in
all Windows jobs.
2023-10-03 02:42:22 +02:00
Chris Thrasher
9d1d9cde33
Remove Intel oneAPI CI jobs
...
These started spontaneously failing due to some Debian package
repository key issues.
https://github.com/SFML/SFML/actions/runs/6365368228/job/17282319034#step:6:40
2023-10-01 21:39:58 +02:00
Chris Thrasher
cc147e5827
Install an older version of MinGW
...
Version 12 changes to URCT instead of MSVCRT which causes linker
issues with all the prebuilt MinGW binaries. This is still a liability
that will have to eventually be fixed.
2023-09-30 18:50:10 -06:00
Chris Thrasher
732115820b
Revert "Disable MinGW jobs until linker errors are addressed"
...
This reverts commit 3acb69e347
.
2023-09-30 18:50:10 -06:00
Chris Thrasher
3acb69e347
Disable MinGW jobs until linker errors are addressed
...
See https://github.com/SFML/SFML/issues/2700
2023-09-22 14:46:27 -06:00
Chris Thrasher
739129d009
Install Ninja in CI
...
https://github.com/actions/runner-images/issues/8343#issuecomment-1727810519
Ninja's presence in the Windows images was due to it being a
transitive dependency of another packages. It was never guaranteed
to be present. The actions/runner-images devs do not plan on adding
it so we're forced to install it ourselves.
2023-09-22 14:46:27 -06:00
Chris Thrasher
3a0d074b2f
Remove trailing whitespace
...
Some of these files either aren't processed by clang-format or the
trailing whitespace existed within blocks of code where we disabled
clang-format.
2023-09-19 13:30:27 -06:00
Chris Thrasher
910514871e
Remove unnecessary CI step
...
clang-format is already installed in GitHub's Ubuntu image
2023-09-18 09:06:35 -06:00
Chris Thrasher
a71d6bc078
Revert "Disable faulty Windows Clang job"
...
This reverts commit bbb6f60dda
.
2023-09-09 00:17:08 -06:00
Chris Thrasher
1811951b4a
Allow for shared libs on iOS
2023-09-05 16:04:20 -06:00
Chris Thrasher
d7ab9208be
Add tests for sf::RenderTexture
...
The generateMipmap test was failing because I forgot to enable MESA
in the MinGW Static Standard Library job.
2023-09-05 10:58:14 -06:00
Chris Thrasher
bbb6f60dda
Disable faulty Windows Clang job
...
The problem is that the Windows CI image hasn't yet be updated to
Clang 16. See this PR for progress on fixing it
https://github.com/actions/runner-images/pull/8134
This has been merged but we still have to wait for the changes to
propogate to all runners.
2023-08-26 21:09:31 -06:00
Chris Thrasher
962e6ed972
Default to building static libraries
...
See https://github.com/SFML/SFML/issues/2389 for full rationale
2023-08-23 09:17:43 -06:00
Chris Thrasher
10bd1ffeba
Remove $GITHUB_WORKSPACE
where not needed
2023-08-12 12:10:46 -06:00
Chris Thrasher
157feec05d
Simplify CI with CMake presets
2023-08-11 15:25:14 -06:00
Chris Thrasher
5c41a7c6bb
Test SFML_USE_STATIC_STD_LIBS
2023-08-11 14:57:10 -06:00
Chris Thrasher
3d63de9a21
Add iOS clang-tidy job
2023-08-04 11:16:20 -06:00
Chris Thrasher
b99a4e341e
Add Android clang-tidy job
2023-07-31 15:28:25 -06:00
Chris Thrasher
ddfb7f6cb0
Use modern name for macOS
...
In a few places I left references to the old name where appropriate.
There are also many CMake references to "OSX" that we have to keep
using since CMake does not offer alternative names for those variables
and target properties.
2023-07-24 21:25:26 -06:00
Chris Thrasher
bc8a84138f
Add tests for SFML_USE_SYSTEM_DEPS
option
2023-07-20 14:13:29 -06:00
Chris Thrasher
1cc9738dcb
Automatically cancel previous active pipelines when branch is updated
2023-07-09 16:11:43 -06:00
Chris Thrasher
cc0f760bbf
Add CI job for Intel oneAPI
2023-07-08 17:00:58 -06:00
Lukas Dürrenberger
22128c996a
Set GitHub Actions image version explicitly
2023-07-08 14:47:50 -06:00
Chris Thrasher
f443a9529b
Take advantage of clang-format-14 features
2023-07-08 14:39:24 -06:00
Lukas Dürrenberger
af5edaab91
Remove brew update until GitHub fixes the issue
2023-07-04 10:45:15 +02:00
Chris Thrasher
da8614cb2f
Test MinGW build in CI
2023-05-31 10:26:50 -06:00
Chris Thrasher
f6dfc04938
Switch to Catch2
2023-05-13 12:38:11 -06:00
JS Fauteux
c45f6378d6
Remove Codecov binary GPG check
...
This started randomly failing on macOS one day. We're not sure why
it started failing but we think it's relatively unimportant so we
can get rid of it.
2023-05-11 17:29:31 -06:00
binary1248
26b300f923
Fixed $GITHUB_WORKSPACE backslashes being escaped by bash when passed to the sh command.
2023-04-13 17:21:18 +02:00
binary1248
9269edcccc
Add OpenGL ES jobs to ci.yml.
2023-04-13 00:20:28 +02:00
binary1248
705307f725
Skip OpenGL version printout when test-sfml-window does not exist
2023-04-12 10:19:59 -06:00
binary1248
913d7358ac
Don't repeatedly run test setup code
2023-04-12 10:19:59 -06:00
Chris Thrasher
038030aed3
Fix how CTest config is specified
2023-04-12 10:19:59 -06:00
Chris Thrasher
7a8192ada9
Fix bug where CTest failing did not fail CI job
2023-04-12 10:19:59 -06:00
Chris Thrasher
1da3e8015b
Disable Xcode code signing via configuration parameter
2023-04-12 09:30:01 +02:00
Chris Thrasher
2d6d4a4e31
Allow for manually triggering CI
2023-04-10 17:48:15 -06:00
Chris Thrasher
6692284597
Force brew install
to succeed
2023-04-10 10:08:13 -06:00
binary1248
ea4c448a85
Add support for installing and using the Mesa 3D library for OpenGL rendering.
2023-04-06 11:15:56 -06:00
Jonny
741fe219da
Use built-in CMake support for iOS
...
* Use built-in iOS support for cmake and expand tests to cover more configurations
* Adjust CI builds
* Update examples version
---------
Co-authored-by: Chris Thrasher <chrisjthrasher@gmail.com>
2023-04-03 23:36:33 +02:00