Skip to content

Commit

Permalink
Implement SSL using rustls
Browse files Browse the repository at this point in the history
  • Loading branch information
nyurik committed Feb 11, 2023
1 parent 6a2268b commit 22311a8
Showing 12 changed files with 283 additions and 263 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -37,20 +37,15 @@ jobs:
cargo --version
cargo fmt --all -- --check
cargo clippy --all-targets --all-features -- -D warnings -W clippy::pedantic
- name: Install OpenSSL (Windows)
if: runner.os == 'Windows'
run: |
echo "VCPKG_ROOT=$env:VCPKG_INSTALLATION_ROOT" | Out-File -FilePath $env:GITHUB_ENV -Append
vcpkg install openssl:x64-windows-static-md
- name: Run build
shell: bash
run: |
if [[ "${{ matrix.target }}" == "aarch64-apple-darwin" ]]; then
rustup target add aarch64-apple-darwin
# compile without debug symbols
RUSTFLAGS='-C link-arg=-s' cargo build --release --target ${{ matrix.target }} --features=vendored-openssl
RUSTFLAGS='-C link-arg=-s' cargo build --release --target ${{ matrix.target }}
else
cargo build --release --target ${{ matrix.target }} --features=ssl
cargo build --release --target ${{ matrix.target }}
fi
mkdir target_releases
if [[ "${{ runner.os }}" == "Windows" ]]; then
Loading

0 comments on commit 22311a8

Please sign in to comment.