From: Steve Myers Date: Mon, 12 Aug 2024 22:30:11 +0000 (-0500) Subject: ci: add job to build example-crates independently X-Git-Tag: v1.0.0-beta.2~8^2 X-Git-Url: http://internal-gitweb-vhost/script/%22https:/struct.DisplayArray.html?a=commitdiff_plain;h=3675a9e4921f2002f23a32d2f76d65549899edd4;p=bdk ci: add job to build example-crates independently --- diff --git a/.github/workflows/cont_integration.yml b/.github/workflows/cont_integration.yml index f793f7ad..ef6fc8da 100644 --- a/.github/workflows/cont_integration.yml +++ b/.github/workflows/cont_integration.yml @@ -130,3 +130,32 @@ jobs: with: token: ${{ secrets.GITHUB_TOKEN }} args: --all-features --all-targets -- -D warnings + + build-examples: + name: Build Examples + runs-on: ubuntu-latest + strategy: + matrix: + example-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: stable + override: true + profile: minimal + - name: Rust Cache + uses: Swatinem/rust-cache@v2.2.1 + - name: Build + working-directory: example-crates/${{ matrix.example-dir }} + run: cargo build