Commit Graph

3 Commits

Author SHA1 Message Date
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