Skip to content

Update README.md

Update README.md #326

name: tinybvh CI
on:
push:
branches: [ main, dev ]
pull_request:
branches: [ main, dev ]
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 }}