This repository has been archived by the owner on Aug 10, 2024. It is now read-only.
Just realized that Yuescript exists. Promptly archiving this repo... #25
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |