🚧 add nvcc

Signed-off-by: Niels Lohmann <mail@nlohmann.me>
This commit is contained in:
Niels Lohmann 2025-05-27 16:50:55 +02:00
parent 281d1e929b
commit e7f18308b4
No known key found for this signature in database
GPG Key ID: 7F3CEA63AE251B69

View File

@ -266,6 +266,18 @@ jobs:
- name: Build
run: cmake --build build
ci_nvcc:
runs-on: ubuntu-latest
container: nvidia/cuda:12.9.0-devel-ubuntu24.04
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Run CMake
run: CXX=nvcc cmake -S . -B build -D CMAKE_BUILD_TYPE=Debug -DJSON_BuildTests=On -DJSON_FastTests=ON
- name: Build
run: cmake --build build --parallel 10
- name: Test
run: cd build ; ctest -j 10 --output-on-failure
ci_test_documentation:
runs-on: ubuntu-latest
strategy: