Fix openresty build on windows #78
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, pull_request] | |
jobs: | |
test: | |
strategy: | |
fail-fast: false | |
matrix: | |
luaVersion: ["5.1.5", "5.2.4", "5.3.6", "5.4.4", "luajit-2.0.5", "luajit-2.1.0-beta3", "luajit-openresty", "5.1", "5.4"] | |
machineTag: ["ubuntu-latest", "macos-latest", "windows-latest"] | |
runs-on: ${{ matrix.machineTag }} | |
steps: | |
- uses: actions/checkout@main | |
- uses: ilammy/msvc-dev-cmd@v1 | |
- name: Build Lua | |
uses: './' | |
with: | |
luaVersion: ${{ matrix.luaVersion }} | |
buildCache: false | |
- name: Test Lua | |
run: lua -e "print('hi from lua')" | |
test-cache: | |
needs: test | |
strategy: | |
fail-fast: false | |
matrix: | |
luaVersion: ["5.1.5", "5.2.4", "5.3.6", "5.4.4", "luajit-2.0.5", "luajit-2.1.0-beta3", "luajit-openresty", "5.1", "5.4"] | |
machineTag: ["ubuntu-latest", "macos-latest", "windows-latest"] | |
runs-on: ${{ matrix.machineTag }} | |
steps: | |
- uses: actions/checkout@main | |
- name: Get Lua from cache | |
uses: './' | |
with: | |
luaVersion: ${{ matrix.luaVersion }} | |
- name: Test Lua | |
run: lua -e "print('hi from lua')" |