public inbox for ~johnnyrichard/olang-devel@lists.sr.ht
 help / color / mirror / code / Atom feed
From: Johnny Richard <johnny@johnnyrichard.com>
To: ~johnnyrichard/olang-devel@lists.sr.ht
Cc: Johnny Richard <johnny@johnnyrichard.com>
Subject: [PATCH olang v2] build: enable continuous integration through .build.yml
Date: Tue, 13 Feb 2024 22:46:00 +0100	[thread overview]
Message-ID: <20240213214705.13767-1-johnny@johnnyrichard.com> (raw)
In-Reply-To: <20240213213620.13471-1-johnny@johnnyrichard.com>

A small build pipeline with linter and compilation settings.

Signed-off-by: Johnny Richard <johnny@johnnyrichard.com>
---

- V2: 
    fix repository link to enable git-clone

 .build.yml | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 .build.yml

diff --git a/.build.yml b/.build.yml
new file mode 100644
index 0000000..3aebfcf
--- /dev/null
+++ b/.build.yml
@@ -0,0 +1,14 @@
+image: archlinux
+packages:
+  - gcc
+  - make
+  - clang
+sources:
+  - https://git.sr.ht/~johnnyrichard/olang
+tasks:
+  - lint: |
+      cd olang
+      make linter
+  - build: |
+      cd olang
+      make
-- 
2.42.0


  parent reply	other threads:[~2024-02-13 20:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-13 21:36 [PATCH olang] " Johnny Richard
2024-02-13 20:34 ` [olang/patches/.build.yml] build failed builds.sr.ht
2024-02-13 21:46 ` Johnny Richard [this message]
2024-02-13 20:52   ` [PATCH olang v2] build: enable continuous integration through .build.yml Carlos Maniero

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240213214705.13767-1-johnny@johnnyrichard.com \
    --to=johnny@johnnyrichard.com \
    --cc=~johnnyrichard/olang-devel@lists.sr.ht \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.johnnyrichard.com/olang.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox