Feature: Optix acceleration implementation #67
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: Build and Tests | |
| on: | |
| push: | |
| branches: | |
| - "Build_Test_Deployment" | |
| - "master" | |
| pull_request: | |
| branches: [ "master" , "Build_Test_Deployment"] | |
| env: | |
| BUILD_TYPE: RelWithDebInfo | |
| BUILD_TESTS : ON | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install OpenGL and GLEW | |
| run: | | |
| sudo apt-get install -y libgl1-mesa-dev libglew-dev | |
| - name: Install libxext-dev | |
| run: | | |
| sudo apt-get install -y libxext-dev | |
| - name: Install Axomae dependencies | |
| run: | | |
| cd ${{github.workspace}} && ./scripts/update_deps.sh | |
| - name: Configure CMake | |
| run: cmake -B ${{github.workspace}}/../build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DAXOMAE_BUILD_TESTS:BOOL=${{env.BUILD_TESTS}} -DAXOMAE_LUT_MEDIUMP:BOOL=ON -DAXOMAE_FROMSOURCE_QT_BUILD=ON -DAXOMAE_USE_EMBREE=OFF | |
| - name: Build | |
| run: cmake --build ${{github.workspace}}/../build --config ${{env.BUILD_TYPE}} | |
| - name: Test | |
| working-directory: ${{github.workspace}}/../build | |
| run: ctest -C ${{env.BUILD_TYPE}} | |
| ##################################################### | |
| # For debugging , opens an ssh cli | |
| # - name: Setup tmate session | |
| # if: success() || failure() | |
| # uses: mxschmitt/action-tmate@v3 |