diff options
author | iximeow <me@iximeow.net> | 2024-03-09 18:32:12 -0800 |
---|---|---|
committer | iximeow <me@iximeow.net> | 2024-03-09 18:32:12 -0800 |
commit | b2e110ebdbe6d358dbe7c4c504616e052ae39fee (patch) | |
tree | 0462c7401b9bc7ee914ac3dbc9cd87f64b2ade2d | |
parent | 57aa49ef6b0b5cfc040606a4e2b2f2d097d8aee4 (diff) |
add goodfile for ci purposes
-rw-r--r-- | goodfile | 14 |
1 files changed, 14 insertions, 0 deletions
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"}) |