From 2ecdefa239cb2c53128750740bbae186245f3362 Mon Sep 17 00:00:00 2001 From: youmetme <321640253@qq.com> Date: Sat, 2 Nov 2024 14:17:53 +0800 Subject: [PATCH] fix action on windows --- script/test.sh | 2 +- script/test_windows.ps1 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/script/test.sh b/script/test.sh index e372a43..7b6a526 100755 --- a/script/test.sh +++ b/script/test.sh @@ -1,2 +1,2 @@ #!/bin/bash -cmake build -B build . && cd build && make && ctest \ No newline at end of file +cmake build -B build . && cd build && cmake --build . && ctest \ No newline at end of file diff --git a/script/test_windows.ps1 b/script/test_windows.ps1 index 0f6d3c0..f5c07c7 100644 --- a/script/test_windows.ps1 +++ b/script/test_windows.ps1 @@ -1,5 +1,5 @@ cmake build -B build . Set-Location -Path "./build" -make +cmake --build . ctest Set-Location -Path ".."