mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-24 14:28:42 +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
|
||||
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') }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue