blob: 0be1d7b056f55adf053e4a8033f1b8bc70e31ec7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
language: rust
rust: stable
cache: cargo
before_script:
- rustup component add rustfmt-preview clippy-preview
script:
- cargo fmt -- --check
- cargo run check
- cargo clippy
- cargo run static-api build
- echo "team-api.infra.rust-lang.org" > build/CNAME
deploy:
provider: script
script: curl -LsSf https://git.io/fhJ8n | rustc - && (cd build && ../rust_out)
skip_cleanup: true
on:
branch: master
|