From 231ad934e6b0f4e62ee0ca68bcb160534262d401 Mon Sep 17 00:00:00 2001 From: John Mazanec Date: Wed, 6 Mar 2024 12:56:07 -0800 Subject: [PATCH] Manually install zlib for win CI (#1513) Signed-off-by: John Mazanec --- .github/workflows/CI.yml | 9 +++++++++ CHANGELOG.md | 1 + 2 files changed, 10 insertions(+) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index b689e1021..a585dd06d 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -139,6 +139,15 @@ jobs: Import-Module "$env:ChocolateyInstall\helpers\chocolateyProfile.psm1" refreshenv + - name: Install Zlib Using Scoop + run: | + echo "C:/Users/runneradmin/scoop/shims" >> $env:GITHUB_PATH + Import-Module "$env:ChocolateyInstall\helpers\chocolateyProfile.psm1" + refreshenv + scoop bucket add extras + scoop install zlib + regedit /s "C:\\Users\\runneradmin\\scoop\\apps\\zlib\\current\\register.reg" + - name: Download OpenBLAS run: | curl -L -O https://github.com/xianyi/OpenBLAS/releases/download/v0.3.21/OpenBLAS-0.3.21-x64.zip diff --git a/CHANGELOG.md b/CHANGELOG.md index 69b213ad8..6420f56b1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), * Optize Faiss Query With Filters: Reduce iteration and memory for id filter [#1402](https://github.com/opensearch-project/k-NN/pull/1402) ### Bug Fixes ### Infrastructure +* Manually install zlib for win CI [#1513](https://github.com/opensearch-project/k-NN/pull/1513) ### Documentation ### Maintenance * Bump faiss lib commit to 32f0e8cf92cd2275b60364517bb1cce67aa29a55 [#1443](https://github.com/opensearch-project/k-NN/pull/1443)