Skip to content

ci: fix Windows tests + enable for PRs #49

ci: fix Windows tests + enable for PRs

ci: fix Windows tests + enable for PRs #49

Workflow file for this run

name: build
on:
push:
pull_request:
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
lua: ["5.1"] #, "5.2", "5.3", "5.4"] # FIXME:, "luajit-2.1.0"]
steps:
- uses: actions/checkout@v3
- name: Install Lua
uses: leafo/gh-actions-lua@v10
with:
luaVersion: ${{ matrix.lua }}
- name: Install Luarocks
# NOTE: This is a fork with Windows support
uses: hishamhm/gh-actions-luarocks@master
- name: Build
run: |
luarocks make
- name: Test
run: |
luarocks test