Skip to content

Static allocator

Static allocator #40

Workflow file for this run

name: macOS
on: [pull_request]
jobs:
build:
runs-on: macos-latest
strategy:
matrix:
cxx:
- g++
build_type: [ Debug, Release ]
std: [ 20 ]
steps:
- uses: actions/checkout@v3
- name: Get latest CMake and ninja
uses: lukka/get-cmake@latest
- name: Configure CMake
env:
CXX: ${{matrix.cxx}}
CXXFLAGS: ${{matrix.cxxflags}}
run: >
cmake -B ${{github.workspace}}/build
-DCMAKE_BUILD_TYPE=${{matrix.build_type}}
-DCMAKE_CXX_STANDARD=${{matrix.std}}
-DCMAKE_CXX_STANDARD_REQUIRED=ON
-DCPPALLOC_BUILD_TESTS=ON
- name: Build
run: cmake --build ${{github.workspace}}/build --config ${{matrix.build_type}}
- name: Test
run: ctest -C ${{matrix.build_type}} --test-dir ${{github.workspace}}/build/tests