~tim/malcc

8e3ea09f98be3703565abb4131057352bd0f1cdd — Tim Morgan 5 years ago 0069044
Add workflow for GitHub actions
3 files changed, 21 insertions(+), 18 deletions(-)

D .build.yml
A .github/workflows/build.yml
M README.md
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