Skip to content

Feature/update GitHub actions #22

Feature/update GitHub actions

Feature/update GitHub actions #22

Workflow file for this run

name: Sidelobe Build Matrix macos
on:
push:
branches:
- main
- develop
pull_request:
types: [opened, synchronize, reopened]
jobs:
build:
name: ${{matrix.os}}, ${{matrix.cxx}}, C++${{matrix.std}}, ${{matrix.build_type}}
runs-on: ${{matrix.os}}
strategy:
fail-fast: false
matrix:
os: [macos-latest]
cxx:
- clang++
build_type: [Debug]
std: [14]
steps:
- uses: actions/checkout@v3
with:
submodules: 'true'
- name: Setup & Cmake
working-directory: deploy
env:
CXX: ${{matrix.cxx}}
run: |
mkdir -p build
cd build
cmake -DCMAKE_CXX_STANDARD=${{matrix.std}} \
-DCMAKE_BUILD_TYPE=${{matrix.build_type}} \
--target MemorySentinelTest \
../..
- name: Build & Run Tests
env:
CTEST_OUTPUT_ON_FAILURE: 1
working-directory: deploy/build
run: |
cmake --build . --parallel 2
ctest -C ${{ matrix.build_type }} -L MemorySentinelTest -j 2