Commit Graph

8 Commits

Author SHA1 Message Date
Stephen Anthony 63bc095e65 Remove 32-bit builds from CI on Github and Gitlab. 2024-05-08 19:47:40 -02:30
Stephen Anthony 78c4245db7 Update Linux build script. 2022-11-24 16:04:15 -03:30
Stephen Anthony 685f91def2 Make automated builds use latest SDL (2.26) where possible. 2022-11-24 15:35:09 -03:30
Stephen Kitt 89d1193342
Use apt-get instead of apt (#938)
This avoids warnings about apt's suitability for use in scripts.

Signed-off-by: Stephen Kitt <steve@sk2.org>

Signed-off-by: Stephen Kitt <steve@sk2.org>
2022-10-13 09:31:14 -02:30
Stephen Kitt e3170edb96
Upgrade GHAs to drop save-state and set-output (#939)
This bumps actions/checkout to v3.1.0 and microsoft/setup-msbuild to
v1.1.3, which switch to environment files. See
https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
for context and
https://github.com/actions/checkout/releases/tag/v3.1.0 and
https://github.com/microsoft/setup-msbuild/releases/tag/v1.1.3 for
details of the changes.

Signed-off-by: Stephen Kitt <steve@sk2.org>

Signed-off-by: Stephen Kitt <steve@sk2.org>
2022-10-13 11:26:37 +02:00
Stephen Kitt 9ce0d374f6
Run the build GHA on pushes as well as PRs (#937)
This ensures that commits get a checkmark if they pass all tests.

Signed-off-by: Stephen Kitt <steve@sk2.org>

Signed-off-by: Stephen Kitt <steve@sk2.org>
2022-10-10 18:33:56 -02:30
Stephen Kitt 44c5d35301
Add a GitHub action to build on Windows (#936)
This reproduces the Appveyor build for 32- and 64-bit Windows.

Signed-off-by: Stephen Kitt <steve@sk2.org>

Signed-off-by: Stephen Kitt <steve@sk2.org>
2022-10-10 15:28:03 -02:30
Stephen Kitt d7d73234ff
Add a GitHub action to build on Linux and macOS (#935)
As with Travis CI, the test is only deemed successful on each platform
if the Stella build completes successfully.

For Linux, the test runs on Ubuntu with the toolchain test build
repository, using G++ 9, and the packaged version of SDL2, which is
guaranteed to be at least 2.0.10.

For macOS, SDL2 2.0.10 is still built from the upstream source code;
however that no longer builds with the newer Xcode versions available
in GHAs, so the build now uses "Unix-style" ./configure && make.

The runners provide two cores on Linux and three cores on macOS, so
the compile stages use the appropriate -j setting to build in
parallel.

Signed-off-by: Stephen Kitt <steve@sk2.org>

Signed-off-by: Stephen Kitt <steve@sk2.org>
2022-10-10 14:45:55 -02:30