Skip to content

Switch to Github Actions #1

Switch to Github Actions

Switch to Github Actions #1

Workflow file for this run

name: Build and Test
on:
push:
branches:
- main
- develop
pull_request:
branches:
- main
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install CMake
uses: lukka/get-cmake@latest
- name: Install LLVM and Clang
uses: KyleMayes/install-llvm-action@v1
with:
version: "16"
- name: Configure CMake
run: cmake -Bbuild -DBUILD_TESTS=YES
- name: Build
run: cmake --build build --config Release
- name: Test
run: ctest --test-dir build