Skip to content

Commit ced49c4

Browse files
authored
Merge pull request #341 from chrxh/copilot/update-cuda-toolkit-detection
Fix CMake YAML formatting to resolve command-line parsing warnings
2 parents 8e663b7 + 2222711 commit ced49c4

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

.github/workflows/copilot-setup-steps.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,10 @@ jobs:
6767
popd
6868
6969
- name: Configure CMake (mit vcpkg Manifest-Mode)
70-
run: cmake -S . -B build \
71-
-DCMAKE_TOOLCHAIN_FILE=external/vcpkg/scripts/buildsystems/vcpkg.cmake \
72-
-DCMAKE_BUILD_TYPE=Release \
70+
run: >
71+
cmake -S . -B build
72+
-DCMAKE_TOOLCHAIN_FILE=external/vcpkg/scripts/buildsystems/vcpkg.cmake
73+
-DCMAKE_BUILD_TYPE=Release
7374
-DCMAKE_CUDA_COMPILER=/usr/local/cuda/bin/nvcc
7475
7576
- name: Build

.github/workflows/ubuntu-ci.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,11 @@ jobs:
5555
popd
5656
5757
- name: Configure CMake
58-
run: cmake -S . -B build \
59-
-G Ninja \
60-
-DCMAKE_TOOLCHAIN_FILE=external/vcpkg/scripts/buildsystems/vcpkg.cmake \
61-
-DCMAKE_BUILD_TYPE=Release \
58+
run: >
59+
cmake -S . -B build
60+
-G Ninja
61+
-DCMAKE_TOOLCHAIN_FILE=external/vcpkg/scripts/buildsystems/vcpkg.cmake
62+
-DCMAKE_BUILD_TYPE=Release
6263
-DCMAKE_CUDA_COMPILER=/usr/local/cuda/bin/nvcc
6364
6465
- name: Build

0 commit comments

Comments
 (0)