File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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/rust-cache@v2.2.1
159+ - name : Build
160+ working-directory : example-crates/${{ matrix.example-dir }}
161+ run : cargo build
You can’t perform that action at this time.
0 commit comments