zzz/.github/workflows/cmake.yml
Vicente Ferrari Smith a06333f66f Squashed 'vendor/enet/' content from commit 8be2368
git-subtree-dir: vendor/enet
git-subtree-split: 8be2368a8001f28db44e81d5939de5e613025023
2026-01-29 22:03:14 +01:00

22 lines
580 B
YAML

on: [push, pull_request]
name: CMake
jobs:
cmake-build:
name: CMake ${{ matrix.os }} ${{ matrix.build_type }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: ["ubuntu-latest", "windows-latest", "macos-latest"]
build_type: ["Debug", "Release"]
steps:
- uses: actions/checkout@v3
- name: Configure CMake
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{ matrix.build_type }}
- name: Build
run: cmake --build ${{github.workspace}}/build --config ${{ matrix.build_type }}