From b2e110ebdbe6d358dbe7c4c504616e052ae39fee Mon Sep 17 00:00:00 2001 From: iximeow Date: Sat, 9 Mar 2024 18:32:12 -0800 Subject: add goodfile for ci purposes --- goodfile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 goodfile (limited to 'goodfile') diff --git a/goodfile b/goodfile new file mode 100644 index 0000000..a33fd7a --- /dev/null +++ b/goodfile @@ -0,0 +1,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"}) -- cgit v1.1