Skip to content

Added an initial skeleton program. #6

Added an initial skeleton program.

Added an initial skeleton program. #6

Workflow file for this run

name: Build
on: [push, pull_request]
jobs:
Build:

Check failure on line 6 in .github/workflows/main.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/main.yml

Invalid workflow file

You have an error in your yaml syntax on line 6
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 }
- { name: UWP, os: windows-latest, flags: -A x64 -DCMAKE_SYSTEM_NAME=WindowsStore -DCMAKE_SYSTEM_VERSION="10.0" }
- name: Set up SDL
id: sdl
uses: libsdl-org/setup-sdl@v1
with:
version: sdl3-head
- name: Get project sources
uses: actions/checkout@v3
- name: Configure CMake
run: cmake -B build ${{ matrix.platform.flags }}
- name: Build
run: cmake --build build/