diff --git a/.github/workflows/tembo_release.yml b/.github/workflows/tembo_release.yml index 53eb7ef9c..af0a05dea 100644 --- a/.github/workflows/tembo_release.yml +++ b/.github/workflows/tembo_release.yml @@ -48,6 +48,21 @@ jobs: apt install pkg-config libssl-dev -y if: runner.os == 'Linux' + - name: Install Deps Windows + id: install_deps_windows + run: | + cd C:\ + git clone https://github.com/microsoft/vcpkg + cd vcpkg + .\vcpkg\bootstrap-vcpkg.bat + .\vcpkg\vcpkg install openssl:x64-windows + mkdir "C:\Program Files\OpenSSL-Win64\certs" + curl --remote-name --time-cond "C:\Program Files\OpenSSL-Win64\certs\cacert.pem" -o "C:\Program Files\OpenSSL-Win64\certs\cacert.pem" https://curl.se/ca/cacert.pem + set OPENSSL_NO_VENDOR=1 + set RUSTFLAGS=-Ctarget-feature=+crt-static + set SSL_CERT_FILE=C:\OpenSSL-Win64\certs\cacert.pem + if: runner.os == 'Windows' + - name: Cargo build working-directory: ./tembo-cli id: cargo_build