Commit Graph

130 Commits

Author SHA1 Message Date
Ryan C. Gordon a9033bbad0 policy: Updated AI-related text based on excellent feedback.
(cherry picked from commit 4711119605)
2026-04-15 17:28:50 -04:00
Ryan C. Gordon 4e75780e75 policy: Added to the PR template, and an AGENTS.md, refusing AI contributions.
Fixes #15350.

(cherry picked from commit 08285d828e)
2026-04-15 17:28:47 -04:00
Anonymous Maarten 47aae3e16d ci: clang-tidy is not used
Build (All) / Create test plan (push) Has been cancelled
Build (All) / level1 (push) Has been cancelled
Build (All) / level2 (push) Has been cancelled
(cherry picked from commit 70584e55a1)
2026-03-25 19:06:57 +01:00
Ozkan Sezer 40625e9e7e ci: bump cross-platform-actions.
Build (All) / Create test plan (push) Has been cancelled
Build (All) / level1 (push) Has been cancelled
Build (All) / level2 (push) Has been cancelled
(cherry-picked from commit 97c1df66a8)
2025-10-07 14:28:50 +03:00
Sam Lantinga 7fe49da380 Removed UWP workflow from CI
The GitHub runners no longer have the needed SDK for this

(cherry picked from commit ecb72142fd)
2025-09-19 08:34:09 -07:00
Sam Lantinga 394d9bfa1a Remove Windows 32-bit ARM build from CI
This architecture is deprecated and is now failing with:
Windows SDK 10.0.22621.0 : 'C:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\um' not found or was incomplete

Fixes https://github.com/libsdl-org/SDL/issues/13949

(cherry picked from commit cc3274b6f1)
(cherry picked from commit b55059b487)
2025-09-14 18:03:32 -07:00
Ozkan Sezer a455f023c2 CI: add OpenBSD workflow
(backported from commit c0e5fd55d2)
(cherry picked from commit 1a8e667f3d)
2025-08-30 15:47:20 +03:00
Anonymous Maarten 6e77327789 ci+n3ds: avoid apt-get package manager
Build (All) / Create test plan (push) Has been cancelled
Build (All) / level1 (push) Has been cancelled
Build (All) / level2 (push) Has been cancelled
- use Unix Makefiles (with parallelization) CMake generator
- use binutils strings binary from devkitpro

( Manual backport of commit e6d200e51c )
( cherry picked from commit b36252b120 )
2025-07-28 00:10:50 +03:00
Anonymous Maarten f99f57ffd1 ci: build MSVC release binary on windows-2025
Build (All) / Create test plan (push) Has been cancelled
Build (All) / level1 (push) Has been cancelled
Build (All) / level2 (push) Has been cancelled
(cherry picked from commit 8605624158)
2025-07-12 13:08:54 +02:00
Anonymous Maarten 51e20f1666 ci: drop classic Intel compiler
Build (All) / Create test plan (push) Has been cancelled
Build (All) / level1 (push) Has been cancelled
Build (All) / level2 (push) Has been cancelled
1) The classic Intel compiler is depreated in favor of the oneapi compiler
2) SPA_FALLTHROUGH is used in pipewire's spa/utils/json.h, and causes build errors

(cherry picked from commit d2eb72fd14)
2025-02-23 21:40:48 +01:00
Anonymous Maarten a34c8403e7 ci: GitHub is retiring Ubuntu 20.04 support
backport of 8d3db06ff2

(cherry picked from commit b4d733619a)
2025-02-23 21:40:48 +01:00
Anonymous Maarten dc74448014 ci: clang32 on msys2 is EOL
backport of 70f657e520

(cherry picked from commit ed2c004c8a)
2025-02-23 21:40:40 +01:00
Anonymous Maarten 3f02118264 ci: bump to NetBSD 10.1
Build (All) / Create test plan (push) Waiting to run
Build (All) / level1 (push) Blocked by required conditions
Build (All) / level2 (push) Blocked by required conditions
(cherry picked from commit 98c447802f)
(cherry picked from commit 18ecd2ccad)
2025-01-23 00:32:56 +03:00
Anonymous Maarten d7825af4de ci: bump FreeBSD to 14.2
[sdl-ci-filter netbsd]
[sdl-ci-filter freebsd]
(cherry picked from commit db97da4ccb)
2025-01-15 06:20:02 +03:00
Anonymous Maarten ba433e4a5d ci: merge all workflows 2024-11-23 20:00:37 +01:00
Anonymous Maarten dface78331 ci: don't do 'brew install pkg-config' anymore
Assume it is installed by default
2024-11-22 21:47:15 +01:00
Anonymous Maarten c672c0e80f ci: pin MSVC ARM Windows SDK version to 10.0.22621.0 2024-11-17 21:33:53 +01:00
Anonymous Maarten e4126d8d6f Add parametrized release script
[ci skip]
2024-10-04 23:42:29 +02:00
Anonymous Maarten 8291b1be36 Port SDL3 release scripts to SDL2
[skip ci]
2024-10-01 21:09:41 +02:00
Anonymous Maarten 47a525610c ci: build in RelWithDebInfo mode 2024-08-31 23:49:22 +02:00
Anonymous Maarten 248cb3ca9c Fix -Wdeclaration-after-statement warnings 2024-08-14 10:35:43 +00:00
Anonymous Maarten 354a35c1d7 cmake: port back Apple changes from SDL3 2024-08-14 10:35:43 +00:00
Anonymous Maarten 5c013a4f0d ci: add GDK
SDL2 port of 31b3f5ea79
2024-08-04 17:17:43 +02:00
Anonymous Maarten fd32342ced ci: build MSVC workflows using Ninja generator 2024-07-19 10:20:11 +00:00
Anonymous Maarten a25f94c9a8 ci: run VC tests under sdlprocdump 2024-07-12 18:47:18 +02:00
Ozkan Sezer 956a8bf6c0 ci: bump FreeBSD
Reference issue: https://github.com/libsdl-org/SDL/issues/10224.
2024-07-11 18:55:50 +03:00
Ozkan Sezer 26e3d65ea8 CI, macOS: install autoconf.
Reference issue: https://github.com/libsdl-org/SDL/issues/9606 .
2024-04-24 00:33:14 +03:00
scribam 9a65d123a7 ci: update deprecated node.js 16 actions
(cherry picked from commit 38d24778ed)
2024-02-23 22:02:13 +01:00
scribam fdbf233cfb ci: bump cross-platform-actions/action version to v0.23.0
(cherry picked from commit cbe330befd)
2024-02-23 23:21:28 +03:00
Anonymous Maarten a420eb79bb cmake: run testautomation with CTest on ci 2024-01-21 23:44:53 +01:00
Anonymous Maarten f0d65436fb ci: re-enable Intel compilers on ci 2023-11-09 18:07:10 +01:00
Ozkan Sezer b29128994e CI: change FreeBSD CI runner to cross-platform-actions. 2023-10-26 01:03:50 +03:00
Anonymous Maarten 90255914a8 cmake: install pdb's when present 2023-10-22 18:53:34 +02:00
Anonymous Maarten e417c6cffe ci: stop FreeBSD job after 30 minutes 2023-10-11 00:23:10 +02:00
Anonymous Maarten 321c2f8f24 ci: disable Intel compilers 2023-10-02 09:14:29 +02:00
Anonymous Maarten 2adebcd6cc ci: run tests in parallel 2023-09-10 15:20:34 +02:00
Anonymous Maarten e5f3b22d63 cmake: update cmake_minimum_required to avoid deprecated warning 2023-08-09 02:53:48 +02:00
Anonymous Maarten 322dbdde4e ci: bump mymindstorm/setup-emsdk to latest tag 2023-07-22 17:36:27 +02:00
Anonymous Maarten 57e9a9eee6 ci: move 'set -eu' to after source_cmd 2023-07-14 15:02:10 +02:00
Sam Clegg 042243471f emscripten: Add JS library dependencies using EM_JS_DEPS macro
See https://github.com/emscripten-core/emscripten/pull/19780
2023-07-06 18:15:49 -04:00
Anonymous Maarten b58285b7ed ci: test with (old) Intel compiler + (new) oneAPI compiler 2023-03-27 06:13:28 +00:00
Anonymous Maarten 817141c162 ci: install pkg-config on Macos runner
(cherry picked from commit 86f0c69465)
2023-02-17 01:05:00 +03:00
Anonymous Maarten d9d84c8d73 ci: test PVR_PSP2 (gles/gl) and gib (gles) 2023-01-25 00:22:50 +01:00
Anonymous Maarten 01a4cf8a10 ci: don't require EXTRA_ prefix on input environment variables 2023-01-15 17:29:37 +01:00
Anonymous Maarten f51f7fbb94 n3ds: fix exported libraries of n3ds 2023-01-15 17:29:37 +01:00
Anonymous Maarten 81fd45f723 ci: Disable emscripten build time tests 2022-11-16 15:42:08 +01:00
Anonymous Maarten 2e47016b01 ci: use Ninja generator in hop of accelerating the build 2022-11-16 15:42:08 +01:00
Ozkan Sezer 06492c5981 CI, MSVC: update to use microsoft/setup-msbuild v1.1.3.
Fixes github deprecation warnings
2022-11-16 00:20:28 +03:00
Simon McVittie d4d99e8c29 workflows: Check we can screen-scrape the SDL_REVISION from Linux builds
Signed-off-by: Simon McVittie <smcv@collabora.com>
2022-10-22 09:27:10 -07:00
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>
2022-10-22 09:27:10 -07:00