• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1steps:
2  - label: "build-msvc-x86"
3    commands:
4     - cargo build --release
5    retry:
6      automatic: true
7    agents:
8      platform: x86_64
9      os: windows
10    plugins:
11      - docker#v3.7.0:
12          image: "lpetrut/rust_win_buildtools"
13          always-pull: true
14
15  - label: "build-msvc-x86-mmap"
16    commands:
17     - cargo build --release --features=backend-mmap
18    retry:
19      automatic: true
20    agents:
21      platform: x86_64
22      os: windows
23    plugins:
24      - docker#v3.7.0:
25          image: "lpetrut/rust_win_buildtools"
26          always-pull: true
27
28  - label: "style"
29    command: cargo fmt --all -- --check
30    retry:
31      automatic: true
32    agents:
33      platform: x86_64
34      os: windows
35    plugins:
36      - docker#v3.7.0:
37          image: "lpetrut/rust_win_buildtools"
38          always-pull: true
39
40  - label: "unittests-msvc-x86"
41    commands:
42     - cargo test --all-features
43    retry:
44      automatic: true
45    agents:
46      platform: x86_64
47      os: windows
48    plugins:
49      - docker#v3.7.0:
50          image: "lpetrut/rust_win_buildtools"
51          always-pull: true
52
53  - label: "clippy-x86"
54    commands:
55     - cargo clippy --all
56    retry:
57      automatic: true
58    agents:
59      platform: x86_64
60      os: windows
61    plugins:
62      - docker#v3.7.0:
63          image: "lpetrut/rust_win_buildtools"
64          always-pull: true
65
66  - label: "check-warnings-x86"
67    commands:
68      - cargo check --all-targets
69    retry:
70      automatic: true
71    agents:
72      platform: x86_64
73      os: windows
74    plugins:
75      - docker#v3.7.0:
76          image: "lpetrut/rust_win_buildtools"
77          always-pull: true
78          environment:
79            - "RUSTFLAGS=-D warnings"
80