From 1c6ea1cf731a293d3a149c96e1b2955754a7c46f Mon Sep 17 00:00:00 2001 From: Chanhee Lee Date: Sun, 18 Feb 2024 11:28:23 -0700 Subject: [PATCH] Test CI - Improve CI tests --- .github/workflows/rust.yml | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index a6f3c2a..8484890 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -33,6 +33,16 @@ jobs: - 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 + # 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 + + runs-on: ubuntu-latest + steps: + - name: Check out the current PR + uses: actions/checkout@v3 + - name: Prepare build environment + uses: chanijjani/lingua-franca/.github/actions/prepare-build-env + - name: Perform federated tests for C target with Rust RTI + # TODO: Drop "git checkout" after this PR is merged to lf-lang/lingua-franca@master. + run: git clone https://github.com/lf-lang/lingua-franca.git; cd lingua-franca; git checkout integration_tests_with_rust_rti; ./gradlew targetTest -Ptarget=RustRti