Rangi
95792a02c2
Add a more rgbds-specific PR template than gbdev's default
2026-11-25 17:45:09 +01:00
Rangi
4af382101b
Use CPack for uploading testing binaries for macOS static and MinGW ( #2139 )
2026-11-23 17:28:21 -05:00
Rangi
a6a70bb7e6
Format code with clang-format 21 ( #2247 )
...
Use `ubuntu-latest` not `ubuntu-slim` for check-format.yml;
`ubuntu-slim` is still Ubuntu 24.04 with clang-format 18.
2026-11-20 23:58:53 -05:00
dependabot[bot]
3b105d053b
Bump actions/cache from 5 to 6 in the actions group ( #2188 )
...
Bumps the actions group with 1 update: [actions/cache](https://github.com/actions/cache ).
Updates `actions/cache` from 5 to 6
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](https://github.com/actions/cache/compare/v5...v6 )
---
updated-dependencies:
- dependency-name: actions/cache
dependency-version: '6'
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: actions
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-01 08:33:08 -04:00
Rangi42
dc585eb302
Bump the Ubuntu runner for creating release artifacts from 22.04 to 24.04
...
Follow-up to #2168
2026-09-26 22:46:39 -04:00
Eldred Habert
f5f503c7b1
Bump our Ubuntu runners ( #2168 )
...
chore: No supported no moar :((
2026-09-27 01:27:41 +02:00
Rangi and ISSOtm
b732f59472
Improve handling of platform-specific build options ( #2162 )
...
* Opt into POSIX functions with `_POSIX_C_SOURCE` before any system
headers are `#include`d
* Allow user to override `make develop`'s `WARNFLAGS` and `CXXFLAGS`
* Use `make develop` on 32-bit Cygwin with sanitizers disabled
* Do not unnecessarily redefine `fseek` and `ftell`
* Disable a false-positive `-Wno-null-dereference` on 32-bit Cygwin
Co-authored-by: ISSOtm <[email protected] >
2026-09-26 16:31:25 -04:00
ISSOtm
4eba73d7b2
Enable -Werror in all release build processes
...
Since we build in a different configuration, it's plausible that some
warnings would only surface in Release (optimised) builds.
That should be an immediate blocker, so let's make it fail loudly.
2026-09-21 20:36:33 -04:00
ISSOtm
970342f564
Avoid double-zipping all release artifacts
...
Follow-up to 306a83a4 , actually fixing the release script (oops!)
but also propagating the change to other release artifacts,
since unlike the regression testing workflows, we make the archives ourselves.
2026-09-21 20:36:32 -04:00
Eldred Habert
306a83a4b4
Avoid double-zipping the binaries
...
https://github.blog/changelog/2026-02-26-github-actions-now-supports-uploading-and-downloading-non-zipped-artifacts/
2026-09-21 18:34:50 -04:00
Rangi
6da3c3c38d
Only include binaries in CPack zip, not man pages
2026-09-21 18:34:50 -04:00
Rangi
2882424407
Cancel in-progress CI jobs when a newer commit supersedes them ( #2136 )
2026-09-21 19:21:28 +02:00
Eldred Habert
0286d4119e
Check out less of the repo for contrib verification
...
Shorter checkout time = good, I think.
2026-09-18 21:45:35 +02:00
Eldred Habert
c803a20259
Only check contrib scripts when one of them changes
...
Less unnecessary CI!
2026-09-18 21:39:30 +02:00
ISSOtm
a0ab1802ff
Avoid fetching external repos on 32-bit Cygwin
...
The comment says we aren't doing this, but we are
2026-09-03 13:39:24 +02:00
ISSOtm
bf3ab7cb18
Explicitly specify the Python version to be installed
...
Turns out `python3-imaging` only redirects to Python 3.**6**'s version,
not the latest like the metapackage does.
2026-09-03 13:39:24 +02:00
Rangi
0c772ea049
Update external testing CI with libbet's new way of running Python
...
libbet now uses `py -3` if the `py` binary exists, instead of if
`COMSPEC` is defined. So we don't need to `unset COMSPEC`, we just
need to avoid Windows' `py` launcher from being in Cygwin's `PATH`.
It turns out that `C:\cygwin\bin\env.exe CYGWIN_NOWINPATH=1 ...`
was not effectively preventing Windows' `PATH` from being inherited
by Cygwin's `PATH`, because to take effect it needs to run Cygwin's
`/etc/profile` script. The simple way to do that is using a login
shell. So we don't need the `PREFIX`/`--prefix` from the previous
commit after all.
2026-08-01 04:49:43 +02:00
Rangi
6f64fd00f6
Fix CI testing of installing RGBDS on Cygwin ( #2038 )
...
We need to pass `-e` to Cygwin `bash` explicitly, since specifying
it as the non-default `shell:` no longer automatically adds `-e`
behavior to `run` blocks.
We also need to install to `/usr/bin` (which `cygwin-install-action`
automatically adds to the `PATH`), not `/usr/local/bin` (which is not
in the default `PATH`). This tests our `PREFIX`/`--prefix` handling.
2026-07-31 10:25:59 -04:00
Rangi
4384223951
CI testing in Cygwin 64-bit now uses CMake and runs external tests ( #2037 )
2026-07-30 12:59:53 -04:00
Rangi
4e87f61656
Edit some comments and formatting in testing.yml for consistency
2026-07-29 22:08:21 -04:00
Rangi
9d854114ea
Use Ninja as the generator for CMake on FreeBSD
2026-07-30 02:33:47 +02:00
Rangi
70d8d67ffc
Run external tests for FreeBSD ( #2035 )
...
This requires aliasing `make` to `gmake` and `python` to `python3`
2026-07-29 19:45:07 -04:00
Eldred Habert
3b1606c63c
Fix typo'd APT option in release workflow
...
Fixing up bcff14b596
2026-07-20 21:53:43 +02:00
Rangi
ca2de0f429
Add issue template
2026-07-14 10:34:43 -04:00
Rangi
4350a3252d
Upgrade FreeBSD testing from 14.3 to 15.1
2026-07-10 23:14:39 -04:00
Rangi
00006a9d00
Use set -u too
2026-07-10 23:12:49 -04:00
Rangi
a383bec96e
Rename install_deps.sh to install-deps.sh for consistency
2026-07-10 23:12:49 -04:00
Rangi
226031c18b
Use #!/usr/bin/env bash, not #!/bin/bash
2026-07-10 23:12:49 -04:00
Rangi
24a896f60a
Move CI-only check-diff script to .github/
2026-07-10 23:12:49 -04:00
Rangi
a6f5e3efd1
Move CI-only check-format script to .github/
2026-07-10 23:12:49 -04:00
Rangi
c02b234bb1
Add CI job to check syntax of contrib scripts
...
Note that `zsh` is not installed in `ubuntu-slim` by default.
2026-07-10 23:12:49 -04:00
Rangi
9008d8391c
Consistently use sudo apt install -Uyq in workflows (two other cases)
2026-07-07 02:57:48 -04:00
ISSOtm
3eb8c7e8f2
Let tests know they are being run under Cygwin
2026-07-05 20:58:50 -04:00
Rangi
189c679e13
Parallelize build jobs according to CPU count
2026-07-05 20:58:50 -04:00
Rangi
5d5000011a
Remove CMAKE_INSTALL_PARALLEL_LEVEL
...
This value "has no impact unless `INSTALL_PARALLEL` is enabled",
and since our install procedure is so simple, I don't think we need
to add that. (The `make install` commands don't use `-j` either.)
2026-07-05 20:58:50 -04:00
ISSOtm
b12eac356e
Try to automatically determine the test OS name
2026-07-02 10:39:59 -04:00
ISSOtm
04b9c7fa3d
Move external tests files to tests/external/
2026-07-02 10:39:59 -04:00
Rangi
250a94c588
Tell Dependabot to ignore minor and patch releases ( #2001 )
...
We specify major-only versions, e.g. `actions/checkout@v7`,
which automatically uses the latest minor+patch of that release.
2026-07-02 13:55:16 +02:00
dependabot[bot] and Rangi
37818a1847
Updates actions/checkout from 6 to 7 ( #1999 )
...
---------
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Rangi <[email protected] >
2026-07-01 23:06:12 -04:00
Rangi
0e3d1df129
Generate install.sh with make -n install ( #1996 )
2026-06-30 21:28:45 +02:00
Rangi
b252877b05
Comment why we use Ninja as the generator for CMake
2026-06-28 17:38:50 -04:00
Rangi
22a3625144
Explicitly test installation with Make and CMake ( #1992 )
2026-06-28 17:31:24 -04:00
Eldred Habert and Rangi
6cba5518e9
Install Pillow together with the rest of our CI deps ( #1952 )
...
We shouldn't assume how the user wants to install things.
In particular, `--break-system-packages` is egregious.
---------
Co-authored-by: Rangi <[email protected] >
2026-06-28 13:06:40 -04:00
Rangi
728bed39d5
Do not support GCC 9 ( #1978 )
...
This will let us use C++20 features that GCC 9's experimental
C++20 support did not yet cover, such as "concepts".
This reverts some commits:
- 6bcd79b997
- d5ce5329ea
- 728d14879b
2026-05-22 16:46:46 -04:00
Eldred Habert
1871b0a0b8
Use Windows git for checkout's post-job cleanup, not Cygwin's git ( #1953 )
...
This fixes an error from using Cygwin's git in checkout's post-job cleanup
2026-05-21 15:25:29 -04:00
ISSOtm
37d39f91f6
Build using GCC 9 in CI
...
Checking that we don't regress this later.
Ubuntu doesn't package GCC 8, and we don't support it either,
so that is a good compromise for now.
2026-04-26 23:30:59 +02:00
ISSOtm
decc5f7153
Let parallelism be determined automatically
...
Ninja is parallel by default;
however, it is not used on FreeBSD, so we still have to specify it there.
2026-04-20 15:32:54 +02:00
ISSOtm
a3c953ea46
Pass C++ compiler to CMake via env var
...
This is a little terser
2026-04-20 15:32:54 +02:00
ISSOtm
d43049c84d
Imply CMake source dir
...
Shortening our command lines slightly
2026-04-20 15:32:54 +02:00
ISSOtm
b6ff54acc3
Avoid libpng compilation on Windows spamming the Microsoft banner
2026-04-20 15:32:54 +02:00