blob: a33fd7abed19940c47ba69ccc04cd219fe2eb0e4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
Build.dependencies({"git", "make", "rustc", "cargo"})
Build.metric(
"nightly version",
string.gsub(Build.check_output({"rustc", "--version"}).stdout, '^%s*(.*)%s*$', '%1')
)
Step.start("crate")
Step.push("build")
Build.run({"cargo", "build"})
Step.advance("test")
Build.run({"cargo", "test"}, {name="test stdlib/fmt"})
Build.run({"cargo", "test", "--no-default-features"}, {name="test nostdlib/fmt"})
|