blob: 9c17f7b3ef9c3056f666bd1a703e347e7775d04c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
language: rust
rust: stable
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
|