CI: do not use msvc with luajit #42
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: test | |
on: | |
push: | |
branches: master | |
pull_request: | |
branches: '*' | |
jobs: | |
TestMatrix: | |
strategy: | |
matrix: | |
luaVersion: ["5.1", "5.2", "5.3", "5.4", "luajit"] | |
os: ["ubuntu-latest", "macos-latest", "windows-latest"] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@master | |
- uses: ilammy/msvc-dev-cmd@v1 | |
if: ${{ ! contains(matrix.luaVersion, 'luajit') }} | |
- uses: hishamhm/gh-actions-lua@master | |
with: | |
luaVersion: ${{ matrix.luaVersion }} | |
- uses: hishamhm/gh-actions-luarocks@master | |
with: | |
luaRocksVersion: "3.11.1" | |
- name: Prep | |
run: | | |
luarocks install busted | |
luarocks install busted-htest | |
luarocks make | |
- name: Tests | |
run: | | |
busted -o htest |