Skip to content

Merge pull request #2 from MiroPalmu/optional #18

Merge pull request #2 from MiroPalmu/optional

Merge pull request #2 from MiroPalmu/optional #18

Workflow file for this run

name: clang
on:
push:
branches:
- main
- feature/*
paths-ignore:
- '**.md'
pull_request:
branches: [main]
paths-ignore:
- '**.md'
env:
BUILD_TYPE: Release
jobs:
build:
runs-on: macos-12
steps:
- uses: actions/checkout@v3
- name: Configure CMake
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
- name: Build
run: cmake --build build --config ${{env.BUILD_TYPE}} -j 2
- name: Test
working-directory: build
run: ctest -C ${{env.BUILD_TYPE}} -j 2 --output-on-failure