fix and parallelize ci
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
LordMZTE 2021-04-06 21:27:37 +02:00
parent f38ea4d9c1
commit a8582bf1a3

View file

@ -3,25 +3,29 @@ name: tests
steps: steps:
- name: test-linux-debug - name: test-linux-debug
image: rust image: rust
depends_on: [ clone ]
commands: commands:
- apt update - apt update
- apt install -y libgtk-3-dev - apt install -y libgtk-3-dev
- cargo test -v - cargo test -v
- name: test-win-debug - name: test-win-debug
image: rust image: lordmzte/rust-win
depends_on: [ clone ]
commands: commands:
- cargo test -v --target x86_64-pc-windows-gnu - cargo test -v --target x86_64-pc-windows-gnu
- name: test-linux-release - name: test-linux-release
image: rust image: rust
depends_on: [ clone ]
commands: commands:
- apt update - apt update
- apt install -y libgtk-3-dev - apt install -y libgtk-3-dev
- cargo test -v --release - cargo test -v --release
- name: test-win-release - name: test-win-release
image: rust image: lordmzte/rust-win
depends_on: [ clone ]
commands: commands:
- cargo test -v --target x86_64-pc-windows-gnu --release - cargo test -v --target x86_64-pc-windows-gnu --release
--- ---