mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-20 20:48:43 +00:00
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:
parent
f7caeea0e6
commit
8e10c0d356
1 changed files with 10 additions and 3 deletions
|
@ -93,11 +93,18 @@ jobs:
|
||||||
|
|
||||||
- name: Build debug
|
- name: Build debug
|
||||||
uses: actions-rs/cargo@v1
|
uses: actions-rs/cargo@v1
|
||||||
if: ${{ ! startsWith(github.ref, 'refs/tags/v') }}
|
if: ${{ ! startsWith(github.ref, 'refs/tags/v') && use-cross == 'false' }}
|
||||||
with:
|
with:
|
||||||
command: build
|
command: build
|
||||||
args: --target ${{ matrix.target }} --no-default-features
|
args: --target ${{ matrix.target }} --no-default-features --features native-tls
|
||||||
use-cross: ${{ matrix.use-cross }}
|
|
||||||
|
- 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
|
- name: Copy and rename utility
|
||||||
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
|
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
|
||||||
|
|
Loading…
Add table
Reference in a new issue