summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authora14m <[email protected]>2020-12-15 22:25:20 +0100
committera14m <[email protected]>2020-12-15 22:52:33 +0100
commite13113b3729a9258083535383b5b5acf0c6fcb40 (patch)
tree4c730b888140bff65aede21fdae8fb2aa28cca03
parent8878c671e1cd81e06e8984a4f13921440c7cab7d (diff)
Add the most basic build
-rw-r--r--.build.yml20
1 files changed, 20 insertions, 0 deletions
diff --git a/.build.yml b/.build.yml
new file mode 100644
index 0000000..0bdd11f
--- /dev/null
+++ b/.build.yml
@@ -0,0 +1,20 @@
+image: alpine/latest
+
+packages:
+ - ruby
+ - ruby-dev
+ - ruby-bundler
+
+sources:
+ - https://git.sr.ht/~a14m/game-of-life
+
+tasks:
+ - test: |
+ cd game-of-life/CLI/ruby
+ bundle install -j $(nproc)
+ bundle exec rspec --format progress
+
+ - lint: |
+ cd game-of-life/CLI/ruby
+ bundle install -j $(nproc)
+ bundle exec rubocop