ci: Use correct native-tls feature flags for win32-arm64 cli, ref #7098 (#7107)

This commit is contained in:
Fabian-Lars 2023-06-02 13:04:48 +02:00 committed by GitHub
parent 0ddbb3a1dc
commit d7a0a2cd1a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 3 deletions

View File

@ -43,7 +43,7 @@ jobs:
- host: windows-latest
architecture: x64
target: aarch64-pc-windows-msvc
build: yarn build:release --target aarch64-pc-windows-msvc --features native-tls-vendored --cargo-flags="--no-default-features"
build: yarn build:release --target aarch64-pc-windows-msvc --features native-tls,native-tls-vendored --cargo-flags="--no-default-features"
- host: ubuntu-20.04
target: x86_64-unknown-linux-gnu
docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-debian

View File

@ -37,7 +37,7 @@ jobs:
- os: windows-latest
rust_target: aarch64-pc-windows-msvc
ext: '.exe'
args: '--no-default-features --features native-tls-vendored'
args: '--no-default-features --features native-tls,native-tls-vendored'
steps:
- name: Checkout

View File

@ -97,5 +97,5 @@ lto = true
default = [ "rustls" ]
native-tls = [ "tauri-bundler/native-tls", "ureq/native-tls" ]
# ureq doesn't have a vendored mode but atto's feature should hopefully take care of it.
native-tls-vendored = [ "tauri-bundler/native-tls-vendored", "ureq/native-tls" ]
native-tls-vendored = [ "tauri-bundler/native-tls-vendored" ]
rustls = [ "tauri-bundler/rustls", "ureq/tls" ]

View File

@ -18,4 +18,5 @@ napi-build = "2.0"
[features]
default = ["tauri-cli/default"]
native-tls = ["tauri-cli/native-tls"]
native-tls-vendored = ["tauri-cli/native-tls-vendored"]