-
Notifications
You must be signed in to change notification settings - Fork 1
63 lines (52 loc) · 1.82 KB
/
rust.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
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
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
# - name: Check out the current PR
- uses: actions/checkout@v3
- name: Check out lingua-franca repository
uses: actions/checkout@v3
with:
# TODO: Change the below repo into 'lf-lang/lingua-franca'
# after this PR is merged to lf-lang/lingua-franca@master.
repository: chanijjani/lingua-franca
submodules: true
fetch-depth: 0
ref: integration_tests_with_rust_rti
# - name: Prepare build environment
# uses: chanijjani/lingua-franca/.github/actions/prepare-build-env@integration_tests_with_rust_rti
- 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/chanijjani/lingua-franca.git;
# cd lingua-franca;
# git checkout integration_tests_with_rust_rti;
./gradlew targetTest -Ptarget=RustRti