Skip to content

test

test #51

Workflow file for this run

name: Compile
on: push
jobs:
build:
runs-on: ${{ matrix.config.os }}
strategy:
fail-fast: false
matrix:
config:
- os: ubuntu-latest
compiler: gcc
- os: ubuntu-latest
compiler: clang
# - os: windows-latest
# compiler: msvc
# - os: windows-latest
# compiler: mingw
- os: macos-latest
compiler: clang
deps_cmdline: brew install cmake ninja mesa-glu mesa xorg-server
generator: Ninja
steps:
- name: "Checkout Repository"
uses: actions/checkout@v4
with:
submodules: recursive
- name: Install Dependencies
shell: bash
run: |
if [[ ! -z "${{ matrix.config.deps_cmdline }}" ]]; then
eval ${{ matrix.config.deps_cmdline }}
fi
- name: "Setup cmake"
run: |
cmake -B build -DCMAKE_BUILD_TYPE=Debug -G "${{ matrix.config.generator }}"
cmake --build build