forked from rustwasm/gloo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.azure-pipelines.yml
39 lines (38 loc) · 1.12 KB
/
.azure-pipelines.yml
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
pr: ["master"]
jobs:
- job: test_all_native
displayName: "Native Tests"
pool:
vmImage: 'ubuntu-16.04'
steps:
- template: .ci/install-rust.yml
parameters:
rust_version: stable
- bash: |
export RUST_BACKTRACE=1
cargo test --all || exit
displayName: Run cargo check and test
- job: test_cargo_readme
displayName: "Test `README.md`s are up to date"
steps:
- template: .ci/test-cargo-readme.yml
- job: test_headless_firefox
displayName: "Headless Browser Tests (Firefox)"
steps:
- template: .ci/install-rust.yml
parameters:
rust_version: stable
- template: .ci/install-wasm-pack.yml
- template: .ci/wasm-pack-test-headless.yml
parameters:
browser_flag: --firefox
- job: test_headless_chrome
displayName: "Headless Browser Tests (Chrome)"
steps:
- template: .ci/install-rust.yml
parameters:
rust_version: stable
- template: .ci/install-wasm-pack.yml
- template: .ci/wasm-pack-test-headless.yml
parameters:
browser_flag: --chrome