Skip to content

Exit strategy.

Exit strategy. #240

name: tinybvh CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
config: [Release, Debug]
steps:
- uses: actions/checkout@v4
- name: Install Packages
if: ${{ matrix.os == 'ubuntu-latest' }}
run: sudo apt install -y libboost-system-dev
- name: Configure CMake
run: >
cmake -LA -B ${{github.workspace}}/build
-DCMAKE_BUILD_TYPE=${{ matrix.config }}
- name: Build
run: cmake --build ${{github.workspace}}/build --config ${{ matrix.config }}
- name: Run tests
working-directory: ${{github.workspace}}/build
run: ctest -C ${{ matrix.config }}