Skip to content

Commit

Permalink
ci: add job to build example-crates independently
Browse files Browse the repository at this point in the history
  • Loading branch information
notmandatory committed Aug 12, 2024
1 parent 6b6b7ab commit 4efa651
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/cont_integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,3 +130,32 @@ jobs:
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-features --all-targets -- -D warnings

build-examples:
name: Build examples individually
runs-on: ubuntu-latest
strategy:
matrix:
working-dir:
- example_cli
- example_bitcoind_rpc_polling
- example_electrum
- example_esplora
- wallet_electrum
- wallet_esplora_async
- wallet_esplora_blocking
- wallet_rpc
steps:
- name: checkout
uses: actions/checkout@v2
- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust.version }}
override: true
profile: minimal
- name: Rust Cache
uses: Swatinem/[email protected]
- name: Build
working-directory: example-crates/${{ matrix.working-dir }}
run: cargo build

0 comments on commit 4efa651

Please sign in to comment.