Add real triangle rendering pipeline for benchmark scenes #3
Workflow file for this run
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: ci | |
| on: | |
| push: | |
| pull_request: | |
| jobs: | |
| build-and-format: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install deps | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y cmake g++ libvulkan-dev clang-format | |
| - name: Build | |
| run: | | |
| cmake -S . -B build -DCMAKE_BUILD_TYPE=Release | |
| cmake --build build -j"$(nproc)" | |
| - name: Format check | |
| run: | | |
| clang-format --dry-run --Werror src/main.cpp | |
| benchmark-gpu: | |
| if: ${{ false }} | |
| runs-on: [self-hosted, gpu] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Placeholder | |
| run: echo "Enable on GPU runner when available" |