Skip to content

workflows: Use setup-sdl@v1 #2

workflows: Use setup-sdl@v1

workflows: Use setup-sdl@v1 #2

Workflow file for this run

name: Build
on: [push, pull_request]
jobs:
Build:
name: ${{ matrix.platform.name }}
runs-on: ${{ matrix.platform.os }}
strategy:
matrix:
platform:
- { name: Linux, os: ubuntu-latest }
- { name: Windows, os: windows-latest }
- { name: MacOS, os: macos-latest }
steps:
- name: Set up SDL
id: sdl
uses: libsdl-org/setup-sdl@v1
with:
version: sdl3-latest
- name: Get project sources
uses: actions/checkout@v3
- name: Configure CMake
run: cmake -B build ${{ matrix.platform.flags }}
- name: Build
run: cmake --build build/