From d992cc03d467b7d913b41fe96d98b060437136a8 Mon Sep 17 00:00:00 2001 From: msojocs Date: Tue, 16 Apr 2024 20:18:25 +0800 Subject: [PATCH] feat: windows release --- tools/linux/ci.sh | 2 +- tools/windows/ci.ps1 | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/linux/ci.sh b/tools/linux/ci.sh index 3cfd290..80220bd 100755 --- a/tools/linux/ci.sh +++ b/tools/linux/ci.sh @@ -24,4 +24,4 @@ cmake .. make cd $root_dir mkdir -p tmp/build -mv build/*.node tmp/build +mv build/*.node tmp/build/telecord-native-linux.node diff --git a/tools/windows/ci.ps1 b/tools/windows/ci.ps1 index b2613bc..0c195b3 100644 --- a/tools/windows/ci.ps1 +++ b/tools/windows/ci.ps1 @@ -5,6 +5,8 @@ try { cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Debug -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=TRUE -S"$root_dir" -B"$root_dir/build" -G Ninja cmake --build "$root_dir/build" --config Debug --target nt_native -- + mkdir "$root_dir/tmp/build" + mv "$root_dir/build/nt_native.node" "$root_dir/tmp/build/telecord-native-win32.node" }catch{ exit 1 } \ No newline at end of file