aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/Net.Compression/vnlib_compress/Taskfile.yaml14
1 files changed, 13 insertions, 1 deletions
diff --git a/lib/Net.Compression/vnlib_compress/Taskfile.yaml b/lib/Net.Compression/vnlib_compress/Taskfile.yaml
index fd22c22..017c9d8 100644
--- a/lib/Net.Compression/vnlib_compress/Taskfile.yaml
+++ b/lib/Net.Compression/vnlib_compress/Taskfile.yaml
@@ -52,6 +52,9 @@ tasks:
- task: zlib
- task: brotli
+
+ #the CI pipline may have issues reading modules if the third-party dir is not cleaned every time a build runs, only an issue after build
+ - defer: { task: clean-third-party }
#invoke cmake for build (notify that we are precompiling for ci pipeline and rpmalloc lib should be local)
- cmake -B./build -DCI_PRECOMPILE=ON -DENABLE_RPMALLOC=ON
@@ -100,4 +103,13 @@ tasks:
- cd {{.THIRD_PARTY_DIR}} && git clone {{.BROTLI_GIT_REPO}}
cmds:
- cd {{.THIRD_PARTY_DIR}}/brotli && git pull
- \ No newline at end of file
+
+ clean-third-party:
+ internal: false
+ ignore_error: true
+ cmds:
+ - cmd: powershell rm -Recurse -Force '{{.THIRD_PARTY_DIR}}'
+ platforms: [windows]
+ - cmd: rm -rf {{.THIRD_PARTY_DIR}}
+ platforms: [linux, darwin]
+ \ No newline at end of file