Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 10 additions & 4 deletions .github/workflows/bundled-lint-and-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,15 +63,21 @@ jobs:
rustup show
rustup component add rustfmt clippy

- name: Build the project
- name: Build the project without Zenoh & vsomeip transports
working-directory: ${{github.workspace}}
run: cargo build
- name: cargo clippy without Zenoh & vsomeip transports
working-directory: ${{github.workspace}}
run: cargo clippy --all-targets -- -W warnings -D warnings
- name: Build the project with Zenoh & vsomeip transports (and thus streamer references)
working-directory: ${{github.workspace}}
run: cargo build --features vsomeip-transport,bundled-vsomeip,zenoh-transport
- name: cargo clippy with Zenoh & vsomeip transports (and thus streamer references)
working-directory: ${{github.workspace}}
run: cargo clippy --features vsomeip-transport,bundled-vsomeip,zenoh-transport --all-targets -- -W warnings -D warnings
- name: cargo fmt
working-directory: ${{github.workspace}}
run: cargo fmt -- --check
- name: cargo clippy
working-directory: ${{github.workspace}}
run: cargo clippy --all-targets -- -W warnings -D warnings

test:
name: Test
Expand Down
16 changes: 11 additions & 5 deletions .github/workflows/unbundled-lint-and-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -160,15 +160,21 @@ jobs:
rustup show
rustup component add rustfmt clippy

- name: Build the project
- name: Build the project without Zenoh & vsomeip transports
working-directory: ${{github.workspace}}
run: cargo build --no-default-features
run: cargo build
- name: cargo clippy without Zenoh & vsomeip transports
working-directory: ${{github.workspace}}
run: cargo clippy --all-targets -- -W warnings -D warnings
- name: Build the project with Zenoh & vsomeip transports (and thus streamer references)
working-directory: ${{github.workspace}}
run: cargo build --features vsomeip-transport,zenoh-transport
- name: cargo clippy with Zenoh & vsomeip transports (and thus streamer references)
working-directory: ${{github.workspace}}
run: cargo clippy --features vsomeip-transport,zenoh-transport --all-targets -- -W warnings -D warnings
- name: cargo fmt
working-directory: ${{github.workspace}}
run: cargo fmt -- --check
- name: cargo clippy
working-directory: ${{github.workspace}}
run: cargo clippy --no-default-features --all-targets -- -W warnings -D warnings

test:
name: Test
Expand Down
Loading
Loading