add materialId mode to debug renderer queries #686
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: TSD CI | |
| on: | |
| push: | |
| branches: [ next_release ] | |
| pull_request: | |
| branches: [ main, next_release ] | |
| jobs: | |
| build: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, windows-latest] | |
| config: [Release, Debug] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install Packages | |
| if: ${{ matrix.os == 'ubuntu-latest' }} | |
| run: sudo apt install -y libtbb-dev | |
| - name: Configure ANARI-SDK CMake | |
| run: > | |
| cmake -LA -B ${{github.workspace}}/deps_build | |
| -DCMAKE_INSTALL_PREFIX=${{github.workspace}}/deps | |
| ${{github.workspace}}/tsd/cmake/build_deps | |
| - name: Build + install ANARI-SDK | |
| run: cmake --build ${{ github.workspace }}/deps_build --config ${{ matrix.config }} | |
| - name: Configure TSD CMake | |
| run: > | |
| cmake -LA -B ${{github.workspace}}/build | |
| -DCMAKE_PREFIX_PATH=${{ github.workspace }}/deps | |
| -DCMAKE_BUILD_TYPE=${{ matrix.config }} | |
| -DTSD_BUILD_APPS=ON | |
| -DTSD_BUILD_INTERACTIVE_APPS=OFF | |
| -DTSD_BUILD_UI_LIBRARY=OFF | |
| -DTSD_USE_ASSIMP=OFF | |
| -DTSD_USE_CUDA=OFF | |
| -DTSD_USE_HDF5=OFF | |
| -DTSD_USE_SDL3=OFF | |
| -DTSD_USE_TBB=OFF | |
| -DTSD_USE_USD=OFF | |
| -DTSD_ENABLE_SERIALIZATION=OFF | |
| ${{ github.workspace }}/tsd | |
| - name: Build | |
| run: cmake --build ${{ github.workspace }}/build --config ${{ matrix.config }} | |
| - name: Unit Tests | |
| working-directory: ${{ github.workspace }}/build | |
| run: ctest -C ${{ matrix.config }} --output-on-failure |