mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-24 22:30:03 +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
|
output: cargo-binstall
|
||||||
use-cross: false
|
use-cross: false
|
||||||
test: true
|
test: true
|
||||||
debug_build_args: --features pkg-config
|
debug_build_args: --no-default-features --features pkg-config
|
||||||
- target: x86_64-apple-darwin
|
- target: x86_64-apple-darwin
|
||||||
os: macos-latest
|
os: macos-latest
|
||||||
output: cargo-binstall
|
output: cargo-binstall
|
||||||
|
@ -34,13 +34,13 @@ jobs:
|
||||||
output: cargo-binstall
|
output: cargo-binstall
|
||||||
use-cross: false
|
use-cross: false
|
||||||
test: false
|
test: false
|
||||||
debug_build_args: --features native-tls
|
debug_build_args: --no-default-features --features native-tls
|
||||||
- target: x86_64-pc-windows-msvc
|
- target: x86_64-pc-windows-msvc
|
||||||
os: windows-latest
|
os: windows-latest
|
||||||
output: cargo-binstall.exe
|
output: cargo-binstall.exe
|
||||||
use-cross: false
|
use-cross: false
|
||||||
test: false
|
test: false
|
||||||
debug_build_args: --features native-tls
|
debug_build_args: --no-default-features --features native-tls
|
||||||
- target: x86_64-unknown-linux-musl
|
- target: x86_64-unknown-linux-musl
|
||||||
os: ubuntu-latest
|
os: ubuntu-latest
|
||||||
output: cargo-binstall
|
output: cargo-binstall
|
||||||
|
@ -99,7 +99,7 @@ jobs:
|
||||||
if: ${{ ! startsWith(github.ref, 'refs/tags/v') }}
|
if: ${{ ! startsWith(github.ref, 'refs/tags/v') }}
|
||||||
with:
|
with:
|
||||||
command: build
|
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
|
- name: Copy and rename utility
|
||||||
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
|
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue