forked from unicode-org/icu4x
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile.toml
126 lines (108 loc) · 3.25 KB
/
Makefile.toml
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
124
125
126
# This file is part of ICU4X. For terms of use, please see the file
# called LICENSE at the top level of the ICU4X source tree
# (online at: https://github.com/unicode-org/icu4x/blob/main/LICENSE ).
extend = [{ path = "./tools/scripts/data.toml"}, { path = "./tools/scripts/valgrind.toml"},
{ path = "./tools/scripts/tidy.toml"}, { path = "./tools/scripts/wasm.toml"},
{ path = "./tools/scripts/tests.toml"}, { path = "./tools/scripts/ffi.toml"}]
[config]
default_to_workspace = false
[tasks.quick]
description = "Run quick version of all lints and builds (useful before pushing to GitHub)"
category = "ICU4X Development"
dependencies = [
"ci-job-check",
"check-no-features",
"fmt-check",
"clippy-all",
"ci-job-tidy",
]
[tasks.tidy]
description = "Run fmt and other tidy checks"
category = "ICU4X Development"
dependencies = [
"fmt-check",
"ci-job-tidy",
]
[tasks.check-no-features]
description = "Check ICU4X build with no features (covered in CI via cargo build-all-features)"
category = "ICU4X Development"
command = "cargo"
args = ["check", "--all-targets", "--no-default-features"]
[tasks.ci-job-check]
description = "Run all tests for the CI 'check' job"
category = "ICU4X Development"
command = "cargo"
args = ["check", "--all-targets", "--all-features"]
[tasks.ci-job-test]
description = "Run all tests for the CI 'test' job"
category = "CI"
dependencies = [
"test-all-features",
"test-docs-default",
"test-docs",
"testdata-build-worklog-bincode",
"testdata-check",
]
[tasks.ci-job-ffi]
description = "Run all tests for the CI 'ffi' job"
category = "CI"
dependencies = [
"test-ffi",
]
[tasks.ci-job-features]
description = "Run all tests for the CI 'features' job"
category = "CI"
dependencies = [
"build-all-features",
]
[tasks.ci-job-fmt]
description = "Run all tests for the CI 'fmt' job"
category = "CI"
dependencies = [
"fmt-check",
]
[tasks.ci-job-tidy]
description = "Run all tests for the CI 'tidy' job"
category = "CI"
dependencies = [
"license-header-check",
"generated-readme-check",
"license-file-check",
]
[tasks.ci-job-wasm]
description = "Run all tests for the CI 'wasm' job"
category = "CI"
dependencies = [
# note: CI does not call `cargo make ci-job-wasm` since
# we have to set up the environment for the emscripten job separately
# Instead, each of these is called individually.
"wasm-release",
"wasm-test-release",
"wasm-compare-worklog-keys",
"wasm-cpp-emscripten",
]
[tasks.ci-job-clippy]
# Note: ci-job-clippy is not actually invoked by CI and instead exists
# for symmetry and predictability. CI instead uses a special GitHub action
# that allows it to integrate better with GitHub annotations
description = "Run all tests for the CI 'clippy' job"
category = "CI"
dependencies = [
"clippy-all",
]
[tasks.ci-all]
# Note that updating this list will not update what is run on CI,
# it simply exists as a shortcut to run everything locally
description = "Locally run all CI jobs"
category = "ICU4X Development"
dependencies = [
"ci-job-check",
"ci-job-tidy",
"ci-job-fmt",
"ci-job-features",
"ci-job-test",
"ci-job-wasm",
# Note: CI doesn't call this directly
"ci-job-clippy",
# benchmarking and coverage jobs not included
]