Skip to content

Updated DumpDebug

Updated DumpDebug #85

Workflow file for this run

name: build
on:
push:
paths-ignore:
- "docs/**"
- "*.md"
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ ubuntu-latest, windows-latest, macos-latest ]
build-type: [ Debug, Release ]
steps:
- uses: actions/checkout@v3
- uses: lukka/get-cmake@latest
- name: Configure
run: >
cmake
-B ${{ github.workspace }}/build
-DCMAKE_BUILD_TYPE=${{ matrix.build-type }}
-DRAPIDOBJ_BuildTools=ON
-DRAPIDOBJ_BuildTests=ON
-DRAPIDOBJ_BuildExamples=ON .
- name: Build
run: cmake --build ${{ github.workspace }}/build --config ${{ matrix.build-type }}
- name: Test
run: |
cd ${{ github.workspace }}/build
ctest --verbose -C ${{ matrix.build-type }}
build-extra:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
compiler: [ { cxx: g++-9, c: gcc-9 }, { cxx: clang++-11, c: clang-11 } ]
build-type: [ Debug, Release ]
steps:
- uses: actions/checkout@v3
- uses: lukka/get-cmake@latest
- name: Install compiler
run: sudo apt install -y ${{ startsWith(matrix.compiler.c, 'gcc') && matrix.compiler.cxx || matrix.compiler.c }}
- name: Configure
run: >
cmake -B ${{ github.workspace }}/build
-DCMAKE_CXX_COMPILER=${{ matrix.compiler.cxx }}
-DCMAKE_C_COMPILER=${{ matrix.compiler.c }}
-DCMAKE_BUILD_TYPE=${{ matrix.build-type }}
-DRAPIDOBJ_BuildTools=ON
-DRAPIDOBJ_BuildTests=ON
-DRAPIDOBJ_BuildExamples=ON .
- name: Build
run: cmake --build ${{ github.workspace }}/build
- name: Test
run: |
cd ${{ github.workspace }}/build
ctest