CI cargo test added (#6)
This commit is contained in:
parent
17abfa7041
commit
f16a006c23
9
.github/workflows/ci.yml
vendored
9
.github/workflows/ci.yml
vendored
@ -80,7 +80,14 @@ jobs:
|
||||
./y.sh prepare --only-libcore
|
||||
./y.sh build
|
||||
cargo test
|
||||
./y.sh clean all
|
||||
|
||||
- name: Run y.sh cargo build
|
||||
run: |
|
||||
./y.sh cargo build --manifest-path tests/hello-world/Cargo.toml
|
||||
|
||||
- name: Clean
|
||||
run: |
|
||||
./y.sh clean all
|
||||
|
||||
- name: Prepare dependencies
|
||||
run: |
|
||||
|
4
tests/hello-world/Cargo.toml
Normal file
4
tests/hello-world/Cargo.toml
Normal file
@ -0,0 +1,4 @@
|
||||
[package]
|
||||
name = "hello_world"
|
||||
|
||||
[dependencies]
|
3
tests/hello-world/src/main.rs
Normal file
3
tests/hello-world/src/main.rs
Normal file
@ -0,0 +1,3 @@
|
||||
fn main() {
|
||||
println!("Hello, world!");
|
||||
}
|
Loading…
Reference in New Issue
Block a user