Skip to content

Commit

Permalink
Synchronizion of rust-rti's directory structure with reactor-c
Browse files Browse the repository at this point in the history
Rename rust/rti directory as core/federated.

Signed-off-by: Chanhee Lee <[email protected]>
  • Loading branch information
chanijjani committed May 1, 2024
1 parent 04029b3 commit d82375e
Show file tree
Hide file tree
Showing 17 changed files with 7 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,17 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Build
run: cd rust/rti; cargo build --verbose
run: cd core/federated; cargo build --verbose

unit-tests:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Unit tests
run: cd rust/rti; cargo test
run: cd core/federated; cargo test

lf-rust-rti:
integration-test:
runs-on: ubuntu-latest
timeout-minutes: 20

Expand All @@ -44,8 +44,8 @@ jobs:
uses: chanijjani/lingua-franca/.github/actions/prepare-build-env@integration_tests_with_rust_rti
- name: Perform federated tests for C target with Rust RTI
run:
git clone https://github.com/hokeun/lf-rust-rti.git;
cd lf-rust-rti;
git clone https://github.com/lf-lang/rust-rti.git;
cd rust-rti;
git checkout ${{ github.head_ref }};
cd ../;
./gradlew targetTest -Ptarget=RustRti
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@
# 1. grcov <== cargo install grcov
# 2. llvm-tools-preview <== rustup component add llvm-tools-preview

rm -rf ./target/coverage
rm -rf cargo-test-*

rm -rf ./target/coverage

CARGO_INCREMENTAL=0 RUSTFLAGS='-Cinstrument-coverage' LLVM_PROFILE_FILE='cargo-test-%p-%m.profraw' cargo test

grcov . --binary-path ./target/debug/deps/ -s . -t html --branch --ignore-not-existing --ignore '../*' --ignore "/*" -o target/coverage
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit d82375e

Please sign in to comment.