Skip to content

start refactoring SImulink::Core API #216

start refactoring SImulink::Core API

start refactoring SImulink::Core API #216

Workflow file for this run

name: MacOS
on: [push, pull_request]
jobs:
cmake:
name: ${{ matrix.name }}
runs-on: ${{ matrix.os }}
timeout-minutes: 80
strategy:
fail-fast: false
matrix:
include:
- name: macOS AppleClang Default
os: macos-latest
compiler: clang
cxx-compiler: clang++
cmake-args:
- name: macOS AppleClang C++11
os: macos-latest
compiler: clang
cxx-compiler: clang++
cmake-args: -DCMAKE_CXX_STANDARD=11
- name: macOS AppleClang C++17
os: macos-latest
compiler: clang
cxx-compiler: clang++
cmake-args: -DCMAKE_CXX_STANDARD=17
- name: macOS AppleClang C++23
os: macos-latest
compiler: clang
cxx-compiler: clang++
cmake-args: -DCMAKE_CXX_STANDARD=23
- name: macOS GCC (Homebrew)
os: macos-latest
compiler: gcc-13
cxx-compiler: g++-13
cmake-args: -DCMAKE_CXX_STANDARD=17
packages: gcc@13
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install packages
if: ${{ matrix.packages }}
run: brew install ${{ matrix.packages }}
- name: Configure
run: cmake -S . -B build ${{ matrix.cmake-args }}
env:
CC: ${{ matrix.compiler }}
CXX: ${{ matrix.cxx-compiler }}
- name: Build
run: cmake --build build
- name: Test
run: ctest --output-on-failure --max-width 150
working-directory: build