D .build.yml => .build.yml +0 -18
@@ 1,18 0,0 @@
-image: ubuntu/lts
-packages:
- - build-essential
- - libedit-dev
- - libgc-dev
- - libpcre3-dev
- - python
-sources:
- - https://git.sr.ht/~tim/malcc
-environment:
- LC_ALL: C.UTF-8
-tasks:
- - build: |
- cd malcc
- make all
- - test: |
- cd malcc
- make test
A .github/workflows/build.yml => .github/workflows/build.yml +19 -0
@@ 0,0 1,19 @@
+name: Build
+
+on: push
+
+jobs:
+ build:
+ runs-on: ubuntu-18.04
+ steps:
+ - uses: actions/checkout@v1
+ - name: fetch submodules
+ run: git submodule update --init
+ - name: install dependencies
+ run: sudo apt update && sudo apt install -y -q build-essential libedit-dev libgc-dev libpcre3-dev python
+ - name: set environment
+ run: export LC_ALL="C.UTF-8"
+ - name: build
+ run: make all
+ - name: test
+ run: make test
M README.md => README.md +2 -0
@@ 2,6 2,8 @@
Mal (Make A Lisp) Compiler in C
+![](https://github.com/seven1m/malcc/workflows/build/badge.svg)
+
## Overview
[Mal](https://github.com/kanaka/mal) is Clojure inspired Lisp interpreter