Skip to content

Commit

Permalink
add cargo-hack
Browse files Browse the repository at this point in the history
* Run cargo check on each feature for all bins
  • Loading branch information
AkhilTThomas committed Dec 13, 2024
1 parent f57c6fd commit 71e1b67
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/kuksa_databroker_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,9 @@ jobs:
# Needed for pip
with:
python-version: '3.12'
- uses: taiki-e/[email protected]
with:
tool: [email protected]
- name: Install build prerequisites
working-directory: ${{github.workspace}}/
run: |
Expand All @@ -173,6 +176,10 @@ jobs:
run: |
./scripts/build-databroker.sh ${{ matrix.platform.name }}
- name: "Check each feature"
working-directory: ${{github.workspace}}
run: cargo hack check --each-feature

- name: "Archiving artifacts"
shell: bash
working-directory: ${{github.workspace}}/dist/${{ matrix.platform.name }}
Expand Down

0 comments on commit 71e1b67

Please sign in to comment.