1
0
mirror of https://github.com/romanz/electrs.git synced 2024-11-19 01:43:29 +01:00

Merge pull request #706 from KhaledEmaraDev/ci-cargo-features-matrix

Add build matrix to test all features
This commit is contained in:
Roman Zeyde 2022-04-23 20:56:15 +03:00 committed by GitHub
commit 781c997b30
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,7 +4,7 @@ on:
push:
pull_request:
schedule:
- cron: '0 0 * * *' # once a day
- cron: "0 0 * * *" # once a day
jobs:
audit:
@ -19,6 +19,14 @@ jobs:
build:
name: Build
runs-on: ubuntu-latest
strategy:
matrix:
build-args:
[
--locked --no-default-features,
--locked,
--locked --features metrics_process,
]
steps:
- name: Checkout sources
uses: actions/checkout@v2
@ -39,7 +47,7 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: build
args: --locked --all
args: ${{ matrix.build-args }} --all
- name: Test
uses: actions-rs/cargo@v1