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

Synchronizion of rust-rti's directory structure with reactor-c #54

Merged
merged 1 commit into from
May 1, 2024
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
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.
Loading