Repository navigation
Docs: pitch outcomes, not implementation #7
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
| # Build verification across CUDA toolkits. GitHub-hosted runners have no | |
| # GPU, so this compiles the library, tool, examples, and tests but does not | |
| # execute them; execution tests (ctest) run on developer machines with a GPU. | |
| name: build | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| workflow_dispatch: | |
| jobs: | |
| cuda-build: | |
| runs-on: ubuntu-24.04 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| cuda: ["12.4.1", "12.8.1", "13.2.1"] | |
| container: | |
| image: nvidia/cuda:${{ matrix.cuda }}-devel-ubuntu22.04 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install build tools | |
| run: | | |
| apt-get update | |
| apt-get install -y --no-install-recommends cmake make g++ python3 | |
| - name: Configure | |
| run: cmake -S . -B build -DCMAKE_CUDA_ARCHITECTURES="80;90" | |
| - name: Build | |
| run: cmake --build build -j | |
| - name: Python package syntax check | |
| run: | | |
| python3 -m compileall python |