forked from bitcoindevkit/bdk
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d716439
commit 20231c4
Showing
5 changed files
with
93 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,12 +28,17 @@ jobs: | |
name: bitcoindevkit | ||
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' | ||
continue-on-error: true # for forks outside of bitcoindevkit GH org | ||
# Cache Builds | ||
- name: Build and Cache latest Rust | ||
run: nix build -L . --keep-failed | ||
- name: Build and Cache MRSV Rust | ||
- name: Build and Cache MRSV | ||
run: nix build -L .#MSRV --keep-failed | ||
- name: Build and Cache WASM | ||
run: nix build -L .#WASM --keep-failed | ||
# Rustfmt | ||
- name: Rustfmt | ||
run: nix build -L .#ci.fmt --keep-failed | ||
# Clippy | ||
- name: Clippy | ||
run: nix build -L .#ci.clippy --keep-failed | ||
# Audit | ||
|
@@ -42,40 +47,27 @@ jobs: | |
# Tests: latest | ||
- name: Test workspace all-features latest | ||
run: nix build -L .#ci.latest.all --keep-failed | ||
- name: Test '--no-default-features' latest Rust | ||
- name: Test workspace no-default-features latest | ||
run: nix build -L .#ci.latest.noDefault --keep-failed | ||
- name: Test '-p bdk' no-std latest Rust | ||
- name: Test bdk no-std latest | ||
run: nix build -L .#ci.latest.noStdBdk --keep-failed | ||
- name: Test '-p chain' no-std latest Rust | ||
- name: Test bdk_chain no-std latest | ||
run: nix build -L .#ci.latest.noStdChain --keep-failed | ||
- name: Test '-p esplora' no-std latest Rust | ||
- name: Test bdk_esplora no-std latest | ||
run: nix build -L .#ci.latest.noStdEsplora --keep-failed | ||
- name: Test '--all-features' MSRV Rust | ||
# Tests: MSRV | ||
- name: Test workspace all-features MSRV | ||
run: nix build -L .#ci.MSRV.all --keep-failed | ||
- name: Test '--no-default-features' MSRV Rust | ||
- name: Test workspace no-default-features MSRV | ||
run: nix build -L .#ci.MSRV.noDefault --keep-failed | ||
- name: Test '-p bdk' no-std MSRV Rust | ||
- name: Test bdk no-std MSRV | ||
run: nix build -L .#ci.MSRV.noStdBdk --keep-failed | ||
- name: Test '-p chain' no-std MSRV Rust | ||
- name: Test bdk_chain no-std MSRV | ||
run: nix build -L .#ci.MSRV.noStdChain --keep-failed | ||
- name: Test '-p esplora' no-std MSRV Rust | ||
- name: Test bdk_esplora no-std MSRV | ||
run: nix build -L .#ci.MSRV.noStdEsplora --keep-failed | ||
# check-wasm: | ||
# name: Check WASM | ||
# runs-on: ubuntu-20.04 | ||
# env: | ||
# CC: clang-10 | ||
# CFLAGS: -I/usr/include | ||
# steps: | ||
# - name: Checkout | ||
# uses: actions/checkout@v4 | ||
# - name: Install Nix | ||
# uses: DeterminateSystems/nix-installer-action@v5 | ||
# - name: Rust Cache | ||
# uses: Swatinem/[email protected] | ||
# - name: Check bdk | ||
# working-directory: ./crates/bdk | ||
# run: 'nix develop -L .#test.WASM --command bash -c "cargo check --target wasm32-unknown-unknown --no-default-features --features bitcoin/no-std,miniscript/no-std,bdk_chain/hashbrown,dev-getrandom-wasm"' | ||
# - name: Check esplora | ||
# working-directory: ./crates/esplora | ||
# run: 'nix develop -L .#test.WASM --command bash -c "cargo check --target wasm32-unknown-unknown --no-default-features --features bitcoin/no-std,miniscript/no-std,bdk_chain/hashbrown,async"' | ||
# Checks: WASM | ||
- name: Check bdk WASM | ||
run: nix build -L .#ci.WASM.bdk --keep-failed | ||
- name: Check bdk_esplora WASM | ||
run: nix build -L .#ci.WASM.esplora --keep-failed |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters