Skip to content

Commit 3675a9e

Browse files
committed
ci: add job to build example-crates independently
1 parent 1adf63c commit 3675a9e

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.github/workflows/cont_integration.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,3 +130,32 @@ jobs:
130130
with:
131131
token: ${{ secrets.GITHUB_TOKEN }}
132132
args: --all-features --all-targets -- -D warnings
133+
134+
build-examples:
135+
name: Build Examples
136+
runs-on: ubuntu-latest
137+
strategy:
138+
matrix:
139+
example-dir:
140+
- example_cli
141+
- example_bitcoind_rpc_polling
142+
- example_electrum
143+
- example_esplora
144+
- wallet_electrum
145+
- wallet_esplora_async
146+
- wallet_esplora_blocking
147+
- wallet_rpc
148+
steps:
149+
- name: checkout
150+
uses: actions/checkout@v2
151+
- name: Install Rust toolchain
152+
uses: actions-rs/toolchain@v1
153+
with:
154+
toolchain: stable
155+
override: true
156+
profile: minimal
157+
- name: Rust Cache
158+
uses: Swatinem/[email protected]
159+
- name: Build
160+
working-directory: example-crates/${{ matrix.example-dir }}
161+
run: cargo build

0 commit comments

Comments
 (0)