mirror of https://github.com/rm-dr/daisy
Edited actions
parent
ba2465dc5e
commit
6f6d98d2f6
|
@ -8,5 +8,10 @@ indent_style = tab
|
||||||
indent_size = 4
|
indent_size = 4
|
||||||
end_of_line = lf
|
end_of_line = lf
|
||||||
charset = utf-8
|
charset = utf-8
|
||||||
trim_trailing_whitespace = false
|
trim_trailing_whitespace = true
|
||||||
insert_final_newline = false
|
insert_final_newline = false
|
||||||
|
|
||||||
|
|
||||||
|
[*.yml]
|
||||||
|
indent_style = space
|
||||||
|
indent_size = 2
|
|
@ -1,6 +1,7 @@
|
||||||
|
name: CI
|
||||||
|
|
||||||
on: [push]
|
on: [push]
|
||||||
|
|
||||||
name: CI
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build_and_test:
|
build_and_test:
|
||||||
|
@ -8,14 +9,24 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: actions-rs/toolchain@v1
|
|
||||||
with:
|
- name: Update toolchain
|
||||||
toolchain: stable
|
run: |
|
||||||
- uses: actions-rs/cargo@v1
|
rustup update
|
||||||
with:
|
rustup install stable
|
||||||
command: build
|
|
||||||
args: --release --all-features
|
- name: Status
|
||||||
- uses: actions-rs/cargo@v1
|
run: |
|
||||||
with:
|
cargo --version --verbose
|
||||||
command: test
|
rustc --version
|
||||||
args: --release
|
|
||||||
|
--name: Test
|
||||||
|
run: |
|
||||||
|
cd daisy
|
||||||
|
cargo check
|
||||||
|
cargo test --all
|
||||||
|
|
||||||
|
- name: Build
|
||||||
|
run: |
|
||||||
|
cd daisy
|
||||||
|
cargo build --release
|
Loading…
Reference in New Issue