[MLsys2026 Best Paper]: https://arxiv.org/abs/2506.08276. RAG on Everything with LEANN. Enjoy 97% storage savings while running a fast, accurate, and 100% private RAG application on your personal device.
Python aifaissgpt-osslangchainllama-indexllmlocalstorageoffline-firstollamaprivacypythonragretrieval-augmented-generationvector-databasevector-searchvectors
fix(ci): add fallback for flaky Chocolatey pkgconfiglite on Windows
Andy Leeaae0a44bfe09
diff --git a/.github/workflows/build-reusable.yml b/.github/workflows/build-reusable.ymlindex b4362f3..d5b8b93 100644--- a/.github/workflows/build-reusable.yml+++ b/.github/workflows/build-reusable.yml@@ -211,9 +211,19 @@ jobs:retry 5 choco install swig -y --no-progressretry 5 choco install nuget.commandline -y --no-progress- retry 5 choco install pkgconfiglite -y --no-progress- echo "C:/ProgramData/chocolatey/bin" >> "$GITHUB_PATH"- echo "PKG_CONFIG_EXECUTABLE=C:/ProgramData/chocolatey/bin/pkg-config.exe" >> "$GITHUB_ENV"+ # pkgconfiglite via Chocolatey is flaky; fall back to direct download+ PKG_CONFIG_DIR="C:/ProgramData/chocolatey/bin"+ if ! retry 3 choco install pkgconfiglite -y --no-progress; then+ echo "Chocolatey pkgconfiglite failed, downloading directly..."+ PKG_CONFIG_DIR="${RUNNER_TEMP}/pkg-config"+ mkdir -p "${PKG_CONFIG_DIR}"+ curl -fsSL -o "${RUNNER_TEMP}/pkgconfiglite.zip" \+ "https://sourceforge.net/projects/pkgconfiglite/files/0.28-1/pkg-config-lite-0.28-1_bin-win32.zip/download"+ unzip -q "${RUNNER_TEMP}/pkgconfiglite.zip" -d "${RUNNER_TEMP}/pkgconfiglite"+ cp "${RUNNER_TEMP}/pkgconfiglite/pkg-config-lite-0.28-1/bin/"* "${PKG_CONFIG_DIR}/"+ fi+ echo "${PKG_CONFIG_DIR}" >> "$GITHUB_PATH"+ echo "PKG_CONFIG_EXECUTABLE=${PKG_CONFIG_DIR}/pkg-config.exe" >> "$GITHUB_ENV"if [[ -z "${VCPKG_INSTALLATION_ROOT:-}" ]]; thenecho "VCPKG_INSTALLATION_ROOT is not set on this runner"exit 1