Add a SDL12COMPAT_MAX_BPP hint, and use it to restrict Hyperspace Delivery Boy to 16bpp (fixes #317) #546
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: [push, pull_request] | |
jobs: | |
Build: | |
name: ${{ matrix.platform.name }} | |
runs-on: ${{ matrix.platform.os }} | |
strategy: | |
matrix: | |
platform: | |
- { name: Windows, os: windows-latest } | |
- { name: Linux, os: ubuntu-latest, flags: -GNinja } | |
- { name: MacOS, os: macos-latest } | |
steps: | |
- name: Setup Linux dependencies | |
if: runner.os == 'Linux' | |
run: | | |
sudo apt-get update | |
sudo apt-get install cmake ninja-build libgl1-mesa-dev libglu1-mesa-dev | |
- name: Get sdl12-compat sources | |
uses: actions/checkout@v3 | |
- name: Get SDL2 headers | |
uses: actions/checkout@v3 | |
with: | |
repository: libsdl-org/SDL | |
ref: SDL2 | |
path: SDL2 | |
- name: Configure CMake | |
run: cmake -DSDL2_INCLUDE_DIR="${{ github.workspace }}/SDL2/include" -B build ${{ matrix.platform.flags }} | |
- name: Build | |
run: cmake --build build/ | |