Skip to content

Commit 7f2c2b6

Browse files
authored
Merge pull request #54 from PLeVasseur/feature/update-zenoh-someip-transport
Update to support latest vsomeip and Zenoh transports
2 parents 4c233b7 + 556fc9f commit 7f2c2b6

28 files changed

+915
-922
lines changed

.github/workflows/bundled-lint-and-test.yaml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,15 +63,21 @@ jobs:
6363
rustup show
6464
rustup component add rustfmt clippy
6565
66-
- name: Build the project
66+
- name: Build the project without Zenoh & vsomeip transports
6767
working-directory: ${{github.workspace}}
6868
run: cargo build
69+
- name: cargo clippy without Zenoh & vsomeip transports
70+
working-directory: ${{github.workspace}}
71+
run: cargo clippy --all-targets -- -W warnings -D warnings
72+
- name: Build the project with Zenoh & vsomeip transports (and thus streamer references)
73+
working-directory: ${{github.workspace}}
74+
run: cargo build --features vsomeip-transport,bundled-vsomeip,zenoh-transport
75+
- name: cargo clippy with Zenoh & vsomeip transports (and thus streamer references)
76+
working-directory: ${{github.workspace}}
77+
run: cargo clippy --features vsomeip-transport,bundled-vsomeip,zenoh-transport --all-targets -- -W warnings -D warnings
6978
- name: cargo fmt
7079
working-directory: ${{github.workspace}}
7180
run: cargo fmt -- --check
72-
- name: cargo clippy
73-
working-directory: ${{github.workspace}}
74-
run: cargo clippy --all-targets -- -W warnings -D warnings
7581

7682
test:
7783
name: Test

.github/workflows/unbundled-lint-and-test.yaml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -160,15 +160,21 @@ jobs:
160160
rustup show
161161
rustup component add rustfmt clippy
162162
163-
- name: Build the project
163+
- name: Build the project without Zenoh & vsomeip transports
164164
working-directory: ${{github.workspace}}
165-
run: cargo build --no-default-features
165+
run: cargo build
166+
- name: cargo clippy without Zenoh & vsomeip transports
167+
working-directory: ${{github.workspace}}
168+
run: cargo clippy --all-targets -- -W warnings -D warnings
169+
- name: Build the project with Zenoh & vsomeip transports (and thus streamer references)
170+
working-directory: ${{github.workspace}}
171+
run: cargo build --features vsomeip-transport,zenoh-transport
172+
- name: cargo clippy with Zenoh & vsomeip transports (and thus streamer references)
173+
working-directory: ${{github.workspace}}
174+
run: cargo clippy --features vsomeip-transport,zenoh-transport --all-targets -- -W warnings -D warnings
166175
- name: cargo fmt
167176
working-directory: ${{github.workspace}}
168177
run: cargo fmt -- --check
169-
- name: cargo clippy
170-
working-directory: ${{github.workspace}}
171-
run: cargo clippy --no-default-features --all-targets -- -W warnings -D warnings
172178

173179
test:
174180
name: Test

0 commit comments

Comments
 (0)