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

no launch.json pls. #20

no launch.json pls.

no launch.json pls. #20

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
moonc test.moon
- name: execute mtlib
run: lua mtlib.lua
- name: execute test
run: lua test.lua