mirror of
https://github.com/aljazceru/cdk.git
synced 2026-02-02 11:45:51 +01:00
refactor: update CI and script for one cdk crate
This commit is contained in:
17
.github/workflows/ci.yml
vendored
17
.github/workflows/ci.yml
vendored
@@ -26,14 +26,12 @@ jobs:
|
||||
- version: stable
|
||||
build-args:
|
||||
[
|
||||
-p cashu,
|
||||
-p cashu --no-default-features,
|
||||
-p cashu --no-default-features --features wallet,
|
||||
-p cashu --no-default-features --features mint,
|
||||
-p cashu --no-default-features --features all-nuts,
|
||||
-p cashu-sdk,
|
||||
-p cashu-sdk --no-default-features,
|
||||
-p cashu-sdk --no-default-features --features all-nuts,
|
||||
-p cdk,
|
||||
-p cdk --no-default-features,
|
||||
-p cdk --no-default-features --features wallet,
|
||||
-p cdk --no-default-features --features mint --features redb,
|
||||
-p cdk --no-default-features --features mint --features redb,
|
||||
-p cdk --no-default-features --features all-nuts,
|
||||
]
|
||||
steps:
|
||||
- name: Checkout
|
||||
@@ -64,8 +62,7 @@ jobs:
|
||||
- version: stable
|
||||
build-args:
|
||||
[
|
||||
-p cashu,
|
||||
-p cashu-sdk,
|
||||
-p cdk,
|
||||
]
|
||||
steps:
|
||||
- name: Checkout
|
||||
|
||||
3
.github/workflows/test.yml
vendored
3
.github/workflows/test.yml
vendored
@@ -18,8 +18,7 @@ jobs:
|
||||
- version: stable
|
||||
build-args:
|
||||
[
|
||||
-p cashu,
|
||||
-p cashu-sdk,
|
||||
-p cdk,
|
||||
]
|
||||
steps:
|
||||
- name: Checkout Crate
|
||||
|
||||
@@ -26,7 +26,7 @@ bitcoin = { version = "0.30", features = ["serde", "rand", "rand-std"] } # light
|
||||
lightning-invoice = { version = "0.29", features = ["serde"] }
|
||||
once_cell = "1.19"
|
||||
serde = { version = "1.0.160", default-features = false, features = ["derive"]}
|
||||
serde_json = { version = "1.0.96", default-features = false }
|
||||
serde_json = "1.0.96"
|
||||
serde_with = "3.4"
|
||||
url = "2.3.1"
|
||||
tracing = { version = "0.1", default-features = false }
|
||||
@@ -43,7 +43,7 @@ redb = { version = "2.0.0", optional = true }
|
||||
|
||||
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
||||
tokio = { workspace = true, features = ["rt", "macros", "sync", "time"] }
|
||||
getrandom = { version = "0.2.14" }
|
||||
getrandom = { version = "0.2.14", features = ["js"] }
|
||||
instant = { version = "0.1", features = [ "wasm-bindgen", "inaccurate" ] }
|
||||
|
||||
|
||||
|
||||
@@ -24,11 +24,10 @@ fi
|
||||
|
||||
buildargs=(
|
||||
"-p cashu"
|
||||
"-p cashu --no-default-features"
|
||||
"-p cashu --no-default-features --features wallet"
|
||||
"-p cashu --no-default-features --features mint"
|
||||
"-p cashu-sdk"
|
||||
"-p cashu-sdk --no-default-features"
|
||||
"-p cdk --no-default-features"
|
||||
"-p cdk --no-default-features --features wallet"
|
||||
"-p cdk --no-default-features --features mint"
|
||||
"-p cdk --no-default-features --features nut13"
|
||||
)
|
||||
|
||||
for arg in "${buildargs[@]}"; do
|
||||
|
||||
Reference in New Issue
Block a user