-
-
Notifications
You must be signed in to change notification settings - Fork 25
Expand file tree
/
Copy path.drone.yml
More file actions
25 lines (22 loc) · 719 Bytes
/
.drone.yml
File metadata and controls
25 lines (22 loc) · 719 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
kind: pipeline
type: docker
name: build
steps:
- name: "Check version missmatches"
image: "olback/rust-linux-gtk:latest"
commands:
- "bash version_check.sh"
- name: "Cargo FMT check"
image: "olback/rust-linux-gtk:latest"
commands:
- sudo chown -R $(whoami):$(whoami) .
- cargo fmt --check
- name: "Build"
image: "olback/rust-linux-gtk:latest"
commands:
- sudo chown -R $(whoami):$(whoami) .
- "rustc --version --verbose"
- "rustup --version"
- "cargo --version --verbose"
- cd ll-gui && cargo build --release --target=x86_64-unknown-linux-gnu && cd ..
- cd ll-cli && cargo build --release --target=x86_64-unknown-linux-gnu && cd ..