forked from constellation-rs/amadeus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
azure-pipelines.yml
123 lines (118 loc) · 4.41 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
trigger: ["master"]
pr: ["master"]
schedules:
- cron: "0 1 * * 0"
displayName: "Sunday build"
branches:
include: ["master"]
always: true
resources:
repositories:
- repository: templates
type: github
name: alecmocatta/azure-pipeline-templates
endpoint: alecmocatta
jobs:
- template: rust.yml@templates
parameters:
endpoint: alecmocatta
default:
rust_toolchain: nightly
rust_lint_toolchain: nightly-2020-08-17
rust_flags: ''
rust_features_clippy: ';aws;commoncrawl;parquet;postgres;csv;json;constellation aws commoncrawl parquet postgres csv json bench'
rust_features_miri: 'aws commoncrawl parquet postgres csv json'
rust_features: 'constellation aws commoncrawl parquet postgres csv json bench'
rust_doc_features: 'constellation aws commoncrawl parquet postgres csv json'
rust_target_check: ''
rust_target_build: ''
rust_target_run: ''
matrix:
linux0:
imageName: 'ubuntu-latest'
rust_target_run: 'x86_64-unknown-linux-gnu'
# TODO: openssl-sys PIC error
# linux1:
# imageName: 'ubuntu-latest'
# rust_target_run: 'x86_64-unknown-linux-musl'
mac:
imageName: 'macos-latest'
rust_target_build: 'aarch64-apple-ios'
rust_target_run: 'x86_64-apple-darwin'
windows:
imageName: 'windows-latest'
rust_features_clippy: ';aws;commoncrawl;parquet;postgres;csv;json;aws commoncrawl parquet postgres csv json bench'
rust_features: 'aws commoncrawl parquet postgres csv json bench'
rust_doc_features: 'aws commoncrawl parquet postgres csv json'
rust_target_run: 'x86_64-pc-windows-msvc'
- template: rust-n.yml@templates
parameters:
endpoint: alecmocatta
default:
rust_toolchain: stable
rust_lint_toolchain: nightly-2020-08-17
rust_flags: ''
rust_features_clippy: ';aws;commoncrawl;postgres;csv;json;aws commoncrawl postgres csv json'
rust_features: 'aws commoncrawl postgres csv json'
rust_doc_features: 'aws commoncrawl postgres csv json'
rust_target_check: ''
rust_target_build: ''
rust_target_run: ''
matrix:
linux:
imageName: 'ubuntu-latest'
rust_target_run: 'x86_64-unknown-linux-gnu'
mac:
imageName: 'macos-latest'
rust_target_build: 'aarch64-apple-ios'
rust_target_run: 'x86_64-apple-darwin'
windows:
imageName: 'windows-latest'
rust_target_run: 'x86_64-pc-windows-msvc'
- template: rust-n.yml@templates
parameters:
ordinal: 2
endpoint: alecmocatta
default:
rust_toolchain: nightly
rust_lint_toolchain: nightly-2020-08-17
rust_flags: ''
rust_packages: '-p amadeus-core -p amadeus-derive -p amadeus-parquet -p amadeus-serde -p amadeus-types -p amadeus'
rust_features_clippy: ';parquet;csv;json;parquet csv json'
rust_features: 'parquet csv json'
rust_doc_features: 'parquet csv json'
rust_target_check: ''
rust_target_build: 'wasm32-unknown-unknown' # run when fixed: https://github.com/rustwasm/wasm-bindgen/issues/2261
rust_target_run: ''
matrix:
linux:
imageName: 'ubuntu-latest'
# TODO: clang version doesn't support wasm32-unknown-wasi
# mac:
# imageName: 'macos-latest'
# TODO: headless browser fails: driver status: exit code: 1
# windows:
# imageName: 'windows-latest'
- template: rust-n.yml@templates
parameters:
ordinal: 3
endpoint: alecmocatta
default:
rust_toolchain: stable nightly
rust_lint_toolchain: nightly-2020-08-17
rust_flags: ''
rust_packages: '-p amadeus-core -p amadeus-derive -p amadeus-serde -p amadeus-types -p amadeus'
rust_features_clippy: ';csv;json;csv json'
rust_features: 'csv json'
rust_doc_features: 'csv json'
rust_target_check: ''
rust_target_build: 'wasm32-unknown-unknown' # run when fixed: https://github.com/rustwasm/wasm-bindgen/issues/2261
rust_target_run: ''
matrix:
linux:
imageName: 'ubuntu-latest'
mac:
imageName: 'macos-latest'
# TODO: headless browser fails: driver status: exit code: 1
# windows:
# imageName: 'windows-latest'