aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoriximeow <me@iximeow.net>2024-03-09 18:32:12 -0800
committeriximeow <me@iximeow.net>2024-03-09 18:32:12 -0800
commitb2e110ebdbe6d358dbe7c4c504616e052ae39fee (patch)
tree0462c7401b9bc7ee914ac3dbc9cd87f64b2ade2d
parent57aa49ef6b0b5cfc040606a4e2b2f2d097d8aee4 (diff)
add goodfile for ci purposes
-rw-r--r--goodfile14
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"})