Commit Graph

8 Commits

Author SHA1 Message Date
Graham Pentheny
89d215d551 Modernize premake5 file.
Removed a lot of duplicated declarations.  Tests no longer links to SDL for no reason, removed a lot of surgical compiler parameters to silence warnings about some questionable code.
2026-02-08 13:32:32 -05:00
Graham Pentheny
87b2419574 Update github workflows to use premake 5.0.0 beta 8 (latest) 2026-02-08 13:31:12 -05:00
Graham Pentheny
ca21a9295c Update github workflow to de-dupe SDL installation steps for Windows and Linux as well as macOS
Also update to SDL 2.32.10, the last SDL2 version
2026-02-08 00:27:04 -05:00
Graham Pentheny
03c1101b18 Use newer clang and ubuntu version when building linux tests project (#748)
Since we need to build with clang 18 and ubuntu-latest is still set to 22.04 which uses clang 14.
2024-12-30 23:20:12 -05:00
Graham Pentheny
ac4376d597 Install libglu1-mesa-dev as a linux build dependency in Github Actions
Because something changed and now we're getting errors about not being able to find glu.h
2024-12-28 01:09:03 -05:00
Graham Pentheny
78dd2f706f Enable verbose catch2 output when running tests in CI 2023-07-23 16:49:03 -04:00
Graham Pentheny
d0b2ed8ff5 Run apt-get update before trying to install libgli and libsdl2 on linux build machines
Fixes this issue https://github.com/actions/runner-images/issues/5562
2022-11-27 20:00:12 -05:00
Graham Pentheny
3d0f0a3d9e Github Workflows based CI system to replace Appveyor and Travis (#580)
The goal here is to replace the current (slightly broken) Travis + Appveyor setup with something that covers more cases and is a bit better supported and easier to maintain. This hopefully helps us catch cross-platform issues quicker. For example, the linux and clang compilation issues that have existed for a while could have been caught if we were building those targets in CI.

This adds a build script that builds the following configurations for every repo commit and PR:

    macOS, premake, Debug
    macOS, premake, Release
    linux, premake, gcc, Debug
    linux, premake, gcc, Release
    linux, premake, clang, Debug
    linux, premake, clang, Release
    linux, cmake, Debug
    linux, cmake, Release
    windows, premake, vs2019, Debug
    windows, premake, vs2019, Release
    windows, premake, vs2022, Debug
    windows, premake, vs2022, Release
    windows, cmake, vs2019, Debug
    windows, cmake, vs2019, Release
    windows, cmake, vs2022, Debug
    windows, cmake, vs2022, Release

It also builds and runs the catch tests executable in the following configurations. A failed test will fail the build.

    macOS, premake, Debug
    linux, premake, clang, Debug
    windows, premake, vs2022, Debug

It doesn't currently build cmake on macOS because there is a one blocker there (#577). We could also add additional builds like cmake with both clang and gcc on linux, but for now this is much better coverage than we have currently.
2022-11-12 13:27:46 -05:00