Improve shared rti accesses by using RwLock #53
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Rust RTI Test | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build | |
run: cd rust/rti; cargo build --verbose | |
unit-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Unit tests | |
run: cd rust/rti; cargo test | |
fetch-rust-rti: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
lf-rust-rti: | |
needs: fetch-rust-rti | |
# TODO(chanijjani): Change the pointer to point to the main lingua-franca repo. | |
uses: chanijjani/lingua-franca/.github/workflows/c-tests-with-rust-rti.yml@integration_tests_with_rust_rti |