Commit Graph

105 Commits (release-2.30.6)

Author SHA1 Message Date
Ozkan Sezer d133701a72 ci: bump FreeBSD
Reference issue: https://github.com/libsdl-org/SDL/issues/10224.

(cherry picked from commit 956a8bf6c0)
Ozkan Sezer f62b86263a CI, macOS: install autoconf.
Reference issue: https://github.com/libsdl-org/SDL/issues/9606 .

(cherry picked from commit 26e3d65ea8)
scribam f345428367 ci: update deprecated node.js 16 actions
(cherry picked from commit 38d24778ed)
scribam e4287595c1 ci: bump cross-platform-actions/action version to v0.23.0
(cherry picked from commit cbe330befd)
Anonymous Maarten a420eb79bb cmake: run testautomation with CTest on ci
Anonymous Maarten f0d65436fb ci: re-enable Intel compilers on ci
Ozkan Sezer b29128994e CI: change FreeBSD CI runner to cross-platform-actions.
Anonymous Maarten 90255914a8 cmake: install pdb's when present
Anonymous Maarten e417c6cffe ci: stop FreeBSD job after 30 minutes
Anonymous Maarten 321c2f8f24 ci: disable Intel compilers
Anonymous Maarten 2adebcd6cc ci: run tests in parallel
Anonymous Maarten e5f3b22d63 cmake: update cmake_minimum_required to avoid deprecated warning
Anonymous Maarten 322dbdde4e ci: bump mymindstorm/setup-emsdk to latest tag
Anonymous Maarten 57e9a9eee6 ci: move 'set -eu' to after source_cmd
Sam Clegg 042243471f emscripten: Add JS library dependencies using EM_JS_DEPS macro
See https://github.com/emscripten-core/emscripten/pull/19780
Anonymous Maarten b58285b7ed ci: test with (old) Intel compiler + (new) oneAPI compiler
Anonymous Maarten 817141c162 ci: install pkg-config on Macos runner
(cherry picked from commit 86f0c69465)
Anonymous Maarten d9d84c8d73 ci: test PVR_PSP2 (gles/gl) and gib (gles)
Anonymous Maarten 01a4cf8a10 ci: don't require EXTRA_ prefix on input environment variables
Anonymous Maarten f51f7fbb94 n3ds: fix exported libraries of n3ds
Anonymous Maarten 81fd45f723 ci: Disable emscripten build time tests
Anonymous Maarten 2e47016b01 ci: use Ninja generator in hop of accelerating the build
Ozkan Sezer 06492c5981 CI, MSVC: update to use microsoft/setup-msbuild v1.1.3.
Fixes github deprecation warnings
Simon McVittie d4d99e8c29 workflows: Check we can screen-scrape the SDL_REVISION from Linux builds
Signed-off-by: Simon McVittie <smcv@collabora.com>
Simon McVittie 4ca5ea5b7e build: Add a mechanism to mark builds with vendor info
Downstream distributors can use this to mark a version with their
preferred version information, like a Linux distribution package version
or the Steam revision it was built to be bundled into, or just to mark
it with the vendor it was built by or the environment it's intended to
be used in.

For instance, in Debian I'd use this by configuring with:

    --enable-vendor-info="${DEB_VENDOR} ${DEB_VERSION}"

to get a SDL_REVISION like:

    release-2.24.1-0-ga1d1946dc (Debian 2.24.1+dfsg-2)

which gives a Debian user enough information to track down the patches
and build-time configuration that were used for package revision 2.

In Autotools and CMake, this is a configure-time option like any other,
and will go into both SDL_REVISION (via SDL_revision.h) and
SDL_GetRevision().

In other build systems (MSVC, Xcode, etc.), defining the
SDL_VENDOR_INFO macro will get it into the output of SDL_GetRevision(),
although not SDL_REVISION.

Resolves: https://github.com/libsdl-org/SDL/issues/6418
Signed-off-by: Simon McVittie <smcv@collabora.com>
Pierre Wendling eea9f638e2 CI: Update to actions/checkout@v3.
Pierre Wendling e710440f58 Vita: Fix typo in CI CMake command.
Pierre Wendling 4227a0b4f3 Vita: Turn on `SDL_WERROR` in CI.
Pierre Wendling e99b05d6c4 Vita: Install bash in CI.
The wrapper `arm-vita-eabi-pkg-config` fails without it with the error:
`env: can't execute 'bash': No such file or directory`
Pierre Wendling fefd48eb9e PS2: Turn on `SDL_WERROR` in CI.
Pierre Wendling 0472794609 PSP: Turn on `SDL_WERROR` in CI.
Pierre Wendling b737833d3c N3DS: Turn on SDL_WERROR in CI.
Pierre Wendling 655275378d N3DS port (squashed)
A dedicated renderer using Citro3D would likely allow for better
much better graphical performances.
Anonymous Maarten 151c23415e ci: Add SDL_WERROR to a few configurations
Sam Clegg cfab203f91 emscripten: Remove use of EM_ASM from SDL_timer code.
Instead use the native emscripten timer API.

See https://github.com/emscripten-core/emscripten/issues/17941
Ryan C. Gordon a97d2e6958 GitHub Actions: bump Emscripten version used to build to 2.0.31.
Reference PR .
Ryan C. Gordon f648c000bd
build: Fixed some references to renamed test-versioning.sh
Francisco Javier Trujillo Mata 46f95a7a5f Create dummy PS2 Video driver
Cameron Cawley 6e9a606a8e Add more mingw-w64 build workflows
Cameron Cawley 3bdc10f842 Update the list of required Ubuntu packages, and add Ubuntu 22.04 workflows
Cameron Cawley adb3e1a21d Add FreeBSD builds to GitHub Actions
Pierre Wendling 36d456797b CI: Fix CMake workflow.
- Add quotes the OSX_ARCHITECTURES list.
- Extract the flag in the matrix.
Pierre Wendling c37c1f7ac3 CI: Make macOS universal build with CMake.
Anonymous Maarten f86ec47f86 ci: don't use ANDROID_NDK_HOME environment variable in Android workflow
Anonymous Maarten 2fdedd17be Revert 6fa7d62 and 856c99e5
Anonymous Maarten 832754b970 ci: install SDL when built as a subproject
Anonymous Maarten 6fa7d62408 ci: use android-ndk r25 (LTS) on CI
Francisco Javier Trujillo Mata 1f3ae75228 Add ps2_drivers dependency
Fix CI
hsdk123 bd49696133
cmake: use CMAKE_CURRENT_BINARY_DIR instead of CMAKE_BINARY_DIR ()
* Update install directory to match generated

https://github.com/libsdl-org/SDL/blob/main/CMakeLists.txt#L3122
Sets `SDL2Config.cmake` to `CMAKE_BINARY_DIR`, whereas the install file tries to find it from a different location.

* cmake: use CMAKE_CURRENT_BINARY_DIR instead of CMAKE_BINARY_DIR

* ci: test SDL included as a cmake subproject

Co-authored-by: Anonymous Maarten <anonymous.maarten@gmail.com>
Anonymous Maarten 78a3751659 cmake+ci: fix+test sdl2-config + sdl2.pc for all supported platforms