bump tokio/reqwest and swap to rustls / remove openssl

This commit is contained in:
ryan 2021-04-08 18:55:08 +12:00
parent fcc88a673e
commit ddadcd6d32
3 changed files with 253 additions and 224 deletions

View file

@ -57,13 +57,6 @@ jobs:
${{ env.HOME }}/.cargo"
target
- name: Install openssl (apt armv7)
if: ${{ matrix.target == 'armv7-unknown-linux-gnueabihf' }}
uses: ryankurte/action-apt@v0.3.0
with:
arch: armhf
packages: libssl-dev:armhf libssl1.1:armhf zlib1g-dev:armhf zlib1g:armhf libc-dev:armhf
- name: Install cross toolchain (armv7)
if: ${{ matrix.target == 'armv7-unknown-linux-gnueabihf' }}
run: sudo apt install gcc-arm-linux-gnueabihf
@ -74,23 +67,6 @@ jobs:
echo "PKG_CONFIG_ALLOW_CROSS=1" >> $GITHUB_ENV
echo "LZMA_API_STATIC=1" >> $GITHUB_ENV
- name: Install openssl (vcpkg)
if: ${{ matrix.os == 'windows-latest' }}
timeout-minutes: 30
run: |
vcpkg integrate install
vcpkg install openssl:x64-windows-static
echo "OPENSSL_DIR=C:/vcpkg/installed/x64-windows-static/" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf-8 -Append
echo "OPENSSL_ROOT_DIR=C:/vcpkg/installed/x64-windows-static/" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf-8 -Append
echo "OPENSSL_STATIC=1" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf-8 -Append
- name: Cache vcpkg
if: ${{ matrix.os == 'windows-latest' }}
uses: actions/cache@v2
with:
key: ${{ matrix.os }}-${{ matrix.target }}
path: C:/vcpkg
- name: Build release
uses: actions-rs/cargo@v1
with: