aboutsummaryrefslogtreecommitdiff
path: root/ci
diff options
context:
space:
mode:
authorLibravatar vnugent <public@vaughnnugent.com>2024-03-31 22:19:53 -0400
committerLibravatar vnugent <public@vaughnnugent.com>2024-03-31 22:19:53 -0400
commitd2ae31ec919d72e66d8b40db8394b55efd6ea6d3 (patch)
treeb71cd2f38d5eced86646ba0bb3a2f7d579fb63a0 /ci
parentfa7fdef79c6d468022b77f81314ac129fe0cdc32 (diff)
ci: Native compression support for win
Diffstat (limited to 'ci')
-rw-r--r--ci/plugins.taskfile.yaml11
-rw-r--r--ci/release.taskfile.yaml6
2 files changed, 12 insertions, 5 deletions
diff --git a/ci/plugins.taskfile.yaml b/ci/plugins.taskfile.yaml
index cab3d53..10af7bb 100644
--- a/ci/plugins.taskfile.yaml
+++ b/ci/plugins.taskfile.yaml
@@ -16,8 +16,8 @@ tasks:
all:
deps:
- install-rpmalloc
- - install-compressor-lib
- - install-argon2-lib
+ - install-compressor-lib
+ - install-argon2-lib
- install-compression
- install-sqlite
cmds:
@@ -125,6 +125,13 @@ tasks:
install-compressor-lib:
cmds:
+ #install the compressor binary for Windows
+ - task: install:install
+ vars:
+ PROJECT_NAME: 'vnlib_compress'
+ MODULE_NAME: "VNLib.Core"
+ FILE_NAME: "win-x64-release.tgz"
+ DIR: './lib/vnlib_compress'
#install compressor plugin
- task: install:install
vars:
diff --git a/ci/release.taskfile.yaml b/ci/release.taskfile.yaml
index f6fdf62..4268f25 100644
--- a/ci/release.taskfile.yaml
+++ b/ci/release.taskfile.yaml
@@ -102,10 +102,10 @@ tasks:
internal: true
dir: 'lib/'
cmds:
- - cd vnlib_compress/ && task
#build the native compressor library for linux/mac
- - cmd: cd vnlib_compress/ && cp build/libvn_compress{{if eq OS "darwin"}}.dylib{{else}}.so{{end}} ../vnlib_compress.dll
+ - cmd: cd vnlib_compress/ && task && cp build/libvn_compress{{if eq OS "darwin"}}.dylib{{else}}.so{{end}} ../vnlib_compress.dll
platforms: [ linux, darwin ]
- - cmd: powershell -Command "cp vnlib_compress/build/Release/vnlib_compress.dll vnlib_compress.dll"
+ #windows now supports pre-compiled libs
+ - cmd: powershell cp vnlib_compress/vnlib_compress.dll vnlib_compress.dll
platforms: [ windows/amd64 ] \ No newline at end of file