Skip to content

Commit 0eae1b8

Browse files
committed
# Merging
1 parent dfca418 commit 0eae1b8

File tree

3 files changed

+68
-1
lines changed

3 files changed

+68
-1
lines changed

.github/workflows/framec.yml

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
name: Frame Transpiler
2+
3+
on: push
4+
5+
jobs:
6+
check:
7+
name: Check
8+
runs-on: ubuntu-latest
9+
strategy:
10+
matrix:
11+
rust:
12+
- stable
13+
- 1.51.0
14+
steps:
15+
- uses: actions/checkout@v2
16+
- uses: actions-rs/toolchain@v1
17+
with:
18+
profile: minimal
19+
toolchain: ${{ matrix.rust }}
20+
override: true
21+
- uses: actions-rs/cargo@v1
22+
with:
23+
command: check
24+
args: --manifest-path framec/Cargo.toml
25+
26+
test:
27+
name: Test Suite
28+
runs-on: ubuntu-latest
29+
strategy:
30+
matrix:
31+
rust:
32+
- stable
33+
- 1.51.0
34+
steps:
35+
- uses: actions/checkout@v2
36+
- uses: actions-rs/toolchain@v1
37+
with:
38+
profile: minimal
39+
toolchain: ${{ matrix.rust }}
40+
override: true
41+
- uses: actions-rs/cargo@v1
42+
with:
43+
command: test
44+
args: --manifest-path framec/Cargo.toml
45+
46+
fmt:
47+
name: Rustfmt
48+
runs-on: ubuntu-latest
49+
strategy:
50+
matrix:
51+
rust:
52+
- stable
53+
- 1.51.0
54+
steps:
55+
- uses: actions/checkout@v2
56+
- uses: actions-rs/toolchain@v1
57+
with:
58+
profile: minimal
59+
toolchain: ${{ matrix.rust }}
60+
override: true
61+
- run: rustup component add rustfmt
62+
- uses: actions-rs/cargo@v1
63+
with:
64+
command: fmt
65+
args: --manifest-path framec/Cargo.toml --all -- --check
66+

framec/src/frame_c/default_config.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ codegen:
77
features:
88
lower_case_states: false
99
introspection: true
10+
generate_action_impl: false
1011
code:
1112
actions_prefix:
1213
actions_suffix: Actions

framec/src/frame_c/visitors/smcat_visitor.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -891,7 +891,7 @@ impl AstVisitor for SmcatVisitor {
891891
}
892892

893893
//* --------------------------------------------------------------------- *//
894-
894+
895895
fn visit_state_stack_operation_statement_node(
896896
&mut self,
897897
_state_stack_op_statement_node: &StateStackOperationStatementNode,

0 commit comments

Comments
 (0)