Skip to content

Commit

Permalink
adds step to install OPENSSL dep for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
shahadarsh committed Jan 8, 2024
1 parent 0c4298f commit e45b745
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/tembo_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e45b745

Please sign in to comment.