From ed0c934df62f9947f2dcf2d1da356237e7253410 Mon Sep 17 00:00:00 2001 From: Jian Chen Date: Sat, 17 Feb 2024 14:19:21 -0500 Subject: [PATCH] Update cmake build --- .github/workflows/win-cpu-x64-build.yml | 2 +- .github/workflows/win-gpu-x64-build.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/win-cpu-x64-build.yml b/.github/workflows/win-cpu-x64-build.yml index cc94d4103..4d5c684fa 100644 --- a/.github/workflows/win-cpu-x64-build.yml +++ b/.github/workflows/win-cpu-x64-build.yml @@ -54,7 +54,7 @@ jobs: - name: Build with CMake run: | cmake -G "Visual Studio 17 2022" -A x64 -S . -B build -DCMAKE_BUILD_TYPE=Release -DUSE_CUDA=OFF - cmake --build . --config Release --parallel + cmake --build build --config Release --parallel - name: Verify Build Artifacts if: always() diff --git a/.github/workflows/win-gpu-x64-build.yml b/.github/workflows/win-gpu-x64-build.yml index 496313524..8d19f14a1 100644 --- a/.github/workflows/win-gpu-x64-build.yml +++ b/.github/workflows/win-gpu-x64-build.yml @@ -46,14 +46,14 @@ jobs: - name: Build with CMake run: | - cmake -G "Visual Studio 17 2022" -S . -B build -A x64 -T cuda=${{ env.cuda_dir }}\\v${{ env.cuda_version }} .. -DCMAKE_BUILD_TYPE=Release -DUSE_CUDA=TRUE + cmake -G "Visual Studio 17 2022" -S . -B build -A x64 -T cuda=${{ env.cuda_dir }}\\v${{ env.cuda_version }} -DCMAKE_BUILD_TYPE=Release -DUSE_CUDA=TRUE cmake --build build --config Release --parallel - name: Verify Build Artifacts if: always() continue-on-error: true run: | - Get-ChildItem -Path $env:GITHUB_WORKSPACE\build\ -Recurse + Get-ChildItem -Path $env:GITHUB_WORKSPACE\build\test\Release -Recurse - name: Run tests run: |