mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-24 14:28:42 +00:00
Disable default features only when debug_build_args is overriden
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
parent
6e1f930c8e
commit
018196de45
1 changed files with 4 additions and 4 deletions
|
@ -23,7 +23,7 @@ jobs:
|
|||
output: cargo-binstall
|
||||
use-cross: false
|
||||
test: true
|
||||
debug_build_args: --features pkg-config
|
||||
debug_build_args: --no-default-features --features pkg-config
|
||||
- target: x86_64-apple-darwin
|
||||
os: macos-latest
|
||||
output: cargo-binstall
|
||||
|
@ -34,13 +34,13 @@ jobs:
|
|||
output: cargo-binstall
|
||||
use-cross: false
|
||||
test: false
|
||||
debug_build_args: --features native-tls
|
||||
debug_build_args: --no-default-features --features native-tls
|
||||
- target: x86_64-pc-windows-msvc
|
||||
os: windows-latest
|
||||
output: cargo-binstall.exe
|
||||
use-cross: false
|
||||
test: false
|
||||
debug_build_args: --features native-tls
|
||||
debug_build_args: --no-default-features --features native-tls
|
||||
- target: x86_64-unknown-linux-musl
|
||||
os: ubuntu-latest
|
||||
output: cargo-binstall
|
||||
|
@ -99,7 +99,7 @@ jobs:
|
|||
if: ${{ ! startsWith(github.ref, 'refs/tags/v') }}
|
||||
with:
|
||||
command: build
|
||||
args: --target ${{ matrix.target }} --no-default-features ${{ matrix.debug_build_args }}
|
||||
args: --target ${{ matrix.target }} ${{ matrix.debug_build_args }}
|
||||
|
||||
- name: Copy and rename utility
|
||||
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue