.github/workflows/main.yml


Log

Author Commit Date CI Message
Simon McVittie d4d99e8c 2022-10-21T12:19:59 workflows: Check we can screen-scrape the SDL_REVISION from Linux builds Signed-off-by: Simon McVittie <smcv@collabora.com>
Simon McVittie 4ca5ea5b 2022-10-20T20:02:21 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 eea9f638 2022-10-12T18:51:59 CI: Update to actions/checkout@v3.
Anonymous Maarten 151c2341 2022-10-06T05:27:37 ci: Add SDL_WERROR to a few configurations
Ryan C. Gordon f648c000 2022-09-28T09:37:21 build: Fixed some references to renamed test-versioning.sh
Cameron Cawley 6e9a606a 2022-07-30T21:08:07 Add more mingw-w64 build workflows
Cameron Cawley 3bdc10f8 2022-07-30T19:41:48 Update the list of required Ubuntu packages, and add Ubuntu 22.04 workflows
Pierre Wendling 36d45679 2022-07-26T15:42:01 CI: Fix CMake workflow. - Add quotes the OSX_ARCHITECTURES list. - Extract the flag in the matrix.
Pierre Wendling c37c1f7a 2022-07-26T15:24:38 CI: Make macOS universal build with CMake.
Anonymous Maarten 78a37516 2022-06-16T16:38:58 cmake+ci: fix+test sdl2-config + sdl2.pc for all supported platforms
Cameron Cawley 12f9bcd2 2022-05-08T17:08:41 Build tests for all CMake platforms on CI
Anonymous Maarten 69df26a0 2022-06-15T03:51:46 ci: test clang+MinGW on CI
Anonymous Maarten f858d130 2022-06-03T19:24:20 ci: test installed packages using CMake
Simon McVittie 6e6e425e 2022-05-05T17:50:28 workflows: Do the equivalent of Automake `make distcheck` The official source code release isn't much use unless it contains everything that users and downstream distributions need to do a new build, so check that it does. Signed-off-by: Simon McVittie <smcv@collabora.com>
Simon McVittie c244bbc5 2022-05-04T17:50:44 workflows: Install and run GNOME-style installed-tests This is currently only done for the Linux Autotools build. The CMake build does not add a significant amount of extra test coverage, and Github Workflows run in an environment where `cmake` and `sudo cmake` point to different executables, which makes it awkward to install into /usr/local from CMake. Signed-off-by: Simon McVittie <smcv@collabora.com>
Simon McVittie ecf1e15f 2022-05-04T19:31:11 workflows: Parallelize Linux Autotools and CMake builds Signed-off-by: Simon McVittie <smcv@collabora.com>
Simon McVittie dba79ade 2022-05-04T13:57:30 workflows: Run build-time tests Signed-off-by: Simon McVittie <smcv@collabora.com>
Simon McVittie a4594797 2022-05-04T18:13:25 workflows: Only run `cmake --install` on Unix platforms The syntax used in this step assumes a Unix shell. Signed-off-by: Simon McVittie <smcv@collabora.com>
Simon McVittie 79a16da6 2022-05-04T18:14:22 workflows: Change how we make CMake verbose Some CI workers don't seem to understand `cmake -v`, and Windows' shell doesn't understand `VERBOSE=1 cmake`. Signed-off-by: Simon McVittie <smcv@collabora.com>
Simon McVittie 4da47601 2022-05-04T18:13:38 workflows: Remove redundant `cmake --build` Signed-off-by: Simon McVittie <smcv@collabora.com>
Simon McVittie 2a8297e4 2022-05-04T16:43:59 workflows: Add a test to assert that all the version numbers agree Signed-off-by: Simon McVittie <smcv@collabora.com>
Simon McVittie 50bc0136 2022-05-04T17:45:26 workflows: Tell CMake and Makefile.in to show compiler command-lines This is usually desirable for batch processing: it lets us see exactly what is happening in the logs. Signed-off-by: Simon McVittie <smcv@collabora.com>
Simon McVittie 85a77fb5 2022-05-03T20:22:48 workflows: List files installed by CMake This lets us compare them with Autotools more easily. Signed-off-by: Simon McVittie <smcv@collabora.com>
Simon McVittie 90da399b 2022-04-12T14:54:24 workflows: Add a workflow to exercise the Autotools build on Linux This builds the tests, but does not run them (for now). Signed-off-by: Simon McVittie <smcv@collabora.com>
Cameron Cawley 550b8377 2022-02-28T14:50:37 Combine the MSVC and UWP workflows
pionere 0af391cb 2022-01-15T17:07:20 build with Release config on push and pull_request
hgs3 6b66542e 2021-11-17T17:04:34 Fixing compilation errors for VS2019 Clang toolset (fixes #4702)
Cameron Gutman e9dae813 2021-11-08T20:14:08 CI: disable fail-fast to avoid aborting build when one platform fails
Cameron Gutman 0d631c74 2021-10-30T12:10:03 CI: Build tests for Windows, macOS, and Linux
Cameron Cawley 21c10827 2021-09-20T13:22:20 Add MinGW-w64 builds to GitHub Actions
Christian Rauch f4f9c6bc 2021-03-11T00:40:43 CI: add 'libdecor' dependency from upstream
Cameron Gutman 9170c0c7 2021-07-15T18:35:20 CI: Add Windows ARM64 builds
scribam 32e736d2 2021-07-10T11:39:51 CI: add github actions for windows x86
Ryan C. Gordon 3a1317ed 2021-03-09T15:54:25 Minor tweak to workflow settings. There was an (innocently intended, I assume!) "make X great again" joke in a previous commit message, and I'd like this not to be the first thing people see on our GitHub project page, so I added some whitespace to the end of this file. Apologies to any that were bothered by that, it was an accident!
Subs 00fabdde 2021-03-03T19:05:47 Make github CI great again The current CI doesn't work and can be fixed. To steps, use a matrix to build on various OS + allow platform specific flags. The linux build should cover a wider case of video backends.
Martin Gerhardy 5d266e9b 2021-02-21T13:57:38 CI: added github actions