From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mail-a.sr.ht; dkim=pass header.d=johnnyrichard.com header.i=@johnnyrichard.com Received: from out-180.mta1.migadu.com (out-180.mta1.migadu.com [IPv6:2001:41d0:203:375::b4]) by mail-a.sr.ht (Postfix) with ESMTPS id 7CA7120190 for <~johnnyrichard/olang-devel@lists.sr.ht>; Tue, 13 Feb 2024 20:45:18 +0000 (UTC) X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=johnnyrichard.com; s=key1; t=1707857117; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=dtr7cfn5lk2u9/F7FMVhmfIv+J7XryUAVw+BzgayV/M=; b=uzyuzRO+n4evfz8kY2CmsChgqBupmY6at5yIPU/DK2AMOHF3Szf0BUw6FQ6U2iewRjNhWF TzHCOLWuxEzYtzjhO/tWSrwBCCH+iEozlilD8hVQvtMnRT7H2wahzHOr8SAsLq5wQM289s xBfM+fJss8Wz70WPPTcyczP+hrG2T0ippnk9/aJTsokCsPW9gCWbsxhLfiVuLkXUcJ2xNZ bdxxJTRv4918UdKegKqgIifmPz0LU4ycIvIqhmV+P22ZHBYybn8vedSvS5gf4nQS0CECt9 /F4vcIEkRJSqz00sNAhkU0G+jNQLDtfMl2FGyABZfaNeGeOgcowQ/53qAPPzmw== From: Johnny Richard To: ~johnnyrichard/olang-devel@lists.sr.ht Cc: Johnny Richard Subject: [PATCH olang v2] build: enable continuous integration through .build.yml Date: Tue, 13 Feb 2024 22:46:00 +0100 Message-ID: <20240213214705.13767-1-johnny@johnnyrichard.com> In-Reply-To: <20240213213620.13471-1-johnny@johnnyrichard.com> References: <20240213213620.13471-1-johnny@johnnyrichard.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT X-TUID: AJ8sWIOgPWi2 A small build pipeline with linter and compilation settings. Signed-off-by: Johnny Richard --- - 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