Skip to content
This repository has been archived by the owner on Aug 10, 2024. It is now read-only.

Added execution test to CI #7

Added execution test to CI

Added execution test to CI #7

Workflow file for this run

name: Moonscript Makefile CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: leafo/gh-actions-lua@v10
with:
luaVersion: 5.1
- uses: leafo/gh-actions-luarocks@v4
- name: install moonscript
run: |
luarocks install moonscript
- name: compile mtlib
run: |
moonc mtlib/*.moon
moonc mtlib.moon
- name: execute mtlib
run: |
lua mtlib.lua