Skip to content

Commit 9454939

Browse files
[#1798] Add clippy workflow for musl
1 parent 91dee18 commit 9454939

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/reuse_static_code_analysis.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ jobs:
2727
with:
2828
toolchain: stable
2929
components: clippy
30+
targets: 'x86_64-unknown-linux-musl'
3031

3132
- name: Setup sccache
3233
uses: mozilla-actions/sccache-action@bafd42bd91680affe190f697cac6ef3ad958ecba # version: v0.0.9
@@ -69,6 +70,12 @@ jobs:
6970
--exclude iceoryx2-ffi-c \
7071
--exclude iceoryx2-cli
7172
73+
- name: Run cargo clippy with default features for target x86_64-unknown-linux-musl in debug mode
74+
if: ${{ runner.os == 'Linux' }}
75+
run: |
76+
just verify sdk clippy --target x86_64-unknown-linux-musl
77+
just verify integrations-zenoh clippy --target x86_64-unknown-linux-musl
78+
7279
- name: Setup miri
7380
uses: dtolnay/rust-toolchain@e97e2d8cc328f1b50210efc529dca0028893a2d9 # version: v1
7481
with:

0 commit comments

Comments
 (0)