Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move vsomeip-rs from separate repo to crates subdirectory #2

Merged
merged 34 commits into from
Aug 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
d306e09
Add ffi bindings
Ax9DTW Apr 15, 2024
fd5ecd6
Wrap ffi bindings
Ax9DTW Apr 15, 2024
548d715
[Atri/Gnana] Add ffi wrapper for message handler callback
Ax9DTW Apr 16, 2024
2da3c9d
[Atri/Gnana] Wrap message handler with rust callback
Ax9DTW Apr 16, 2024
e12832a
Add state handler callback
Ax9DTW Apr 16, 2024
f739c70
Make all ffi bindings unsafe
Ax9DTW Apr 16, 2024
b214ce4
Fix callback segfault and add server example
Ax9DTW Apr 22, 2024
3ff2199
Add message methods
Ax9DTW Apr 22, 2024
29d925a
Add error handling
Ax9DTW Apr 22, 2024
4e5b84f
Add more primitives and constants
Ax9DTW Apr 22, 2024
544d529
Add more application methods
Ax9DTW Apr 22, 2024
9aca46d
Refactor and add tests
Ax9DTW Apr 22, 2024
e7446ae
Add missing files
Ax9DTW Apr 22, 2024
f217dc5
Add scripts
Ax9DTW Apr 24, 2024
6af69c4
[Gnana/Atri] Add README
Ax9DTW Apr 25, 2024
8abd4de
Update README.md
Ax9DTW Apr 25, 2024
3dd78e5
Add create_application_with helper method
Ax9DTW May 2, 2024
b633ba8
Add more getters/setters to Message
Ax9DTW May 6, 2024
5dd4191
Mark Application Send and Sync
Ax9DTW May 7, 2024
8c2a1e3
Mark Message Send + Sync
Ax9DTW May 8, 2024
6f5ae15
Make Message: Clone
Ax9DTW May 15, 2024
6ac5a8d
Add serde support
Ax9DTW May 15, 2024
d4ae3e5
Add documentation
Ax9DTW May 20, 2024
6853aa4
Update crate description
Ax9DTW May 20, 2024
7ff8cf0
Fix lints
Ax9DTW May 20, 2024
0065286
Add module level documentation
Ax9DTW May 20, 2024
8bb7f14
Update licensing and metadata
Ax9DTW May 20, 2024
29dfe44
Show error when trying to build on MacOS
Ax9DTW May 21, 2024
7f11088
Merge remote-tracking branch 'vsomeip_rs/main'
Ax9DTW Aug 1, 2024
23ed1ff
Update vsomeip-rs references
Ax9DTW Aug 1, 2024
8f1bbed
Fix pipeline
Ax9DTW Aug 1, 2024
5e45516
Checkout to older vsomeip
Ax9DTW Aug 1, 2024
80706d9
Fix typo in action
Ax9DTW Aug 1, 2024
23b90da
set LD_LIBRARY_PATH to locate vsomeip
Ax9DTW Aug 1, 2024
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
28 changes: 26 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,37 @@ on:

env:
CARGO_TERM_COLOR: always

LD_LIBRARY_PATH: /usr/lib
jobs:
build:

runs-on: ubuntu-latest
container: fedora:38

steps:
- name: Setup cmake
run: sudo dnf -y install cmake
- name: Install dependencies
run: sudo dnf -y install make git clang boost-devel nodejs

- name: Install latest stable Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable

- name: Install vsomeip
run: |
git clone https://github.com/COVESA/vsomeip
cd vsomeip
git checkout cf497232adf84f55947f7a24e1b64e04b49f1f38
mkdir build
cd build
# https://github.com/COVESA/vsomeip/issues/688
# https://github.com/COVESA/vsomeip/issues/527
cmake -E env CXXFLAGS="-Wno-error=stringop-overflow" cmake .. -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_BUILD_TYPE=Debug
make -j
sudo make install
cd ../..

- uses: actions/checkout@v3
- name: Build
run: cargo build --workspace --all-features --verbose
Expand Down
2 changes: 0 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion crates/smip_al/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
vsomeip-rs = {git = "ssh://[email protected]/tw-sdv/vsomeip-rs"}
vsomeip-rs = {path = "../vsomeip-rs"}
someip_types = { path = "../someip_types" }
2 changes: 1 addition & 1 deletion crates/smip_core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ edition = "2021"
[dependencies]
parking_lot = "0.12"
someip_types = {path = "../someip_types"}
vsomeip-rs = {git = "ssh://[email protected]/tw-sdv/vsomeip-rs"}
vsomeip-rs = {path = "../vsomeip-rs"}
vsomeip_compat = {path = "../vsomeip_compat"}
serde = "1"
bincode = "1"
Expand Down
2 changes: 1 addition & 1 deletion crates/someip_types/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ edition = "2021"

[dependencies]
serde = { version = "1", features = ["derive"], optional = true}
vsomeip-rs = {git = "ssh://[email protected]/tw-sdv/vsomeip-rs"}
vsomeip-rs = {path = "../vsomeip-rs"}

[features]
default = []
Expand Down
1 change: 1 addition & 0 deletions crates/vsomeip-rs/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/target
Loading
Loading