Don't compile daemon and cli binaries on Windows
This commit is contained in:
parent
11cc4dc2e6
commit
ad32977558
8
.github/workflows/main.yml
vendored
8
.github/workflows/main.yml
vendored
@ -36,5 +36,9 @@ jobs:
|
||||
toolchain: ${{ matrix.toolchain }}
|
||||
override: true
|
||||
profile: minimal
|
||||
- name: Test on Rust ${{ matrix.toolchain }}
|
||||
run: cargo test --verbose
|
||||
- name: Test on Rust ${{ matrix.toolchain }} (only Windows)
|
||||
if: matrix.os == 'windows-latest'
|
||||
run: cargo test --verbose --no-default-features
|
||||
- name: Test on Rust ${{ matrix.toolchain }} (non Windows)
|
||||
if: matrix.os != 'windows-latest'
|
||||
run: cargo test --verbose --color always -- --nocapture
|
||||
|
||||
@ -12,10 +12,16 @@ exclude = [".github/", ".cirrus.yml", "tests/", "test_data/", "contrib/", "pypr
|
||||
[[bin]]
|
||||
name = "minisafed"
|
||||
path = "src/bin/daemon.rs"
|
||||
required-features = ["jsonrpc_server"]
|
||||
|
||||
[[bin]]
|
||||
name = "minisafe-cli"
|
||||
path = "src/bin/cli.rs"
|
||||
required-features = ["jsonrpc_server"]
|
||||
|
||||
[features]
|
||||
default = ["jsonrpc_server"]
|
||||
jsonrpc_server = []
|
||||
|
||||
[dependencies]
|
||||
# For managing transactions (it re-exports the bitcoin crate)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user