File tree Expand file tree Collapse file tree 4 files changed +25
-5
lines changed Expand file tree Collapse file tree 4 files changed +25
-5
lines changed Original file line number Diff line number Diff line change
1
+ name : Check
2
+
3
+ on :
4
+ push :
5
+ branches : ['main']
6
+ pull_request :
7
+ branches : ['main']
8
+
9
+ env :
10
+ CARGO_TERM_COLOR : always
11
+
12
+ jobs :
13
+ build :
14
+ runs-on : ubuntu-latest
15
+
16
+ steps :
17
+ - uses : actions/checkout@v3
18
+ - name : Build
19
+ run : cargo build --verbose
20
+ - name : Run tests
21
+ run : cargo check --verbose -- -F warnings
Original file line number Diff line number Diff line change 1
- name : Rust
1
+ name : Tests
2
2
3
3
on :
4
4
push :
19
19
run : cargo build --verbose
20
20
- name : Run tests
21
21
run : cargo test --verbose
22
- - name : Check code
23
- run : cargo check --verbose
Original file line number Diff line number Diff line change 1
1
# Complogic
2
2
3
- [ ![ Rust] ( https://github.com/Vandesm14/complogic/actions/workflows/rust.yml/badge.svg )] ( https://github.com/Vandesm14/complogic/actions/workflows/rust.yml )
3
+ [ ![ Tests] ( https://github.com/Vandesm14/complogic/actions/workflows/tests.yml/badge.svg )] ( https://github.com/Vandesm14/complogic/actions/workflows/tests.yml )
4
+ [ ![ Checks] ( https://github.com/Vandesm14/complogic/actions/workflows/check.yml/badge.svg )] ( https://github.com/Vandesm14/complogic/actions/workflows/check.yml )
4
5
5
6
Simulate logic gates on a compiled single-instruction VM with Rust.
6
7
Original file line number Diff line number Diff line change @@ -138,7 +138,7 @@ impl Gate for Xor {
138
138
out : incrementer. next ( ) ,
139
139
} ;
140
140
let and = And {
141
- a : or . out ,
141
+ a : nand . out ,
142
142
b : nand. out ,
143
143
out : self . out ,
144
144
} ;
You can’t perform that action at this time.
0 commit comments