|
@ -4,15 +4,16 @@ type: docker |
|
|
|
|
|
|
|
|
steps: |
|
|
steps: |
|
|
- name: test |
|
|
- name: test |
|
|
image: rust:alpine |
|
|
|
|
|
|
|
|
image: rust:latest |
|
|
commands: |
|
|
commands: |
|
|
- cargo build --verbose --all |
|
|
|
|
|
- cargo test --verbose --all |
|
|
|
|
|
|
|
|
- cargo install just |
|
|
|
|
|
- just test |
|
|
|
|
|
|
|
|
- name: build |
|
|
- name: build |
|
|
image: rust:alpine |
|
|
image: rust:alpine |
|
|
commands: |
|
|
commands: |
|
|
- cargo build --release |
|
|
|
|
|
|
|
|
- cargo install just |
|
|
|
|
|
- just dist |
|
|
when: |
|
|
when: |
|
|
event: |
|
|
event: |
|
|
- tag |
|
|
- tag |
|
|