Enable feature native-tls in debug build in integration CI

when not doing cross compilation

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
Jiahao XU 2022-07-23 20:35:46 +10:00
parent f7caeea0e6
commit 8e10c0d356
No known key found for this signature in database
GPG key ID: 591C0B03040416D6

View file

@ -93,11 +93,18 @@ jobs:
- name: Build debug
uses: actions-rs/cargo@v1
if: ${{ ! startsWith(github.ref, 'refs/tags/v') }}
if: ${{ ! startsWith(github.ref, 'refs/tags/v') && use-cross == 'false' }}
with:
command: build
args: --target ${{ matrix.target }} --no-default-features
use-cross: ${{ matrix.use-cross }}
args: --target ${{ matrix.target }} --no-default-features --features native-tls
- name: Build debug with cross compilation
uses: actions-rs/cargo@v1
if: ${{ ! startsWith(github.ref, 'refs/tags/v') && use-cross == 'true' }}
with:
command: build
args: --target ${{ matrix.target }} --no-default-features --features rustls
use-cross: true
- name: Copy and rename utility
if: ${{ startsWith(github.ref, 'refs/tags/v') }}