Skip to content

Add some comment

Add some comment #14

Workflow file for this run

name: blinker tests
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [macos-latest, ubuntu-latest]
cpp_compiler: [g++, clang++]
include:
- os: ubuntu-latest
c_compiler: gcc
cpp_compiler: g++
- os: macos-latest
c_compiler: clang
cpp_compiler: clang++
exclude:
- os: macos-latest
cpp_compiler: g++
- os: ubuntu-latest
cpp_compiler: clang++
steps:
- uses: actions/checkout@v3
- name: Install Conan
run: pip install conan
- name: Configure Conan
run: conan profile detect
- name: Install Requirements
run: >
conan install .
--output-folder=${{ runner.workspace }}/build
--build=missing
- name: Configure CMake
working-directory: ${{runner.workspace}}
run: >
cmake -B ${{ runner.workspace }}/build -S ${{ github.workspace }}
-DCMAKE_TOOLCHAIN_FILE=conan_toolchain.cmake
-DCMAKE_BUILD_TYPE=Release
-DCMAKE_CXX_COMPILER=${{ matrix.cpp_compiler }}
-DCMAKE_C_COMPILER=${{ matrix.c_compiler }}
-DBLINKER_TEST=1
- name: Build Tests
working-directory: ${{runner.workspace}}/build/tests
run: make
- name: Run Tests
working-directory: ${{runner.workspace}}/build
run: ctest --test-dir ./tests --output-on-failure