Skip to content

ci: fix Windows tests + enable for PRs #45

ci: fix Windows tests + enable for PRs

ci: fix Windows tests + enable for PRs #45

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", "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
uses: hishamhm/gh-actions-luarocks@master
- name: Build
run: |
luarocks make
- name: Test
run: |
luarocks test