moonscript/.github/workflows/windows_exe.yml

42 lines
861 B
YAML
Raw Normal View History

2020-11-23 00:38:49 +00:00
name: "windows_exe"
on: [push]
jobs:
build:
runs-on: windows-latest
steps:
2020-11-23 00:41:13 +00:00
- uses: actions/checkout@master
2020-11-23 00:59:19 +00:00
2020-11-23 00:48:18 +00:00
- uses: msys2/setup-msys2@v2
with:
2020-11-23 00:59:19 +00:00
install: gcc make curl
2020-11-23 00:48:18 +00:00
2020-11-23 01:01:02 +00:00
- name: Show GCC
run: gcc -v
2020-11-23 00:48:18 +00:00
2020-11-23 00:59:19 +00:00
- name: Setup Lua
2020-11-23 01:01:02 +00:00
run: |
2020-11-23 00:59:19 +00:00
curl -O https://www.lua.org/ftp/lua-5.1.5.tar.gz
tar -xZf lua-5.1.5.tar.gz
2020-11-23 01:04:21 +00:00
cd lua-5.1.5; make PLAT=mingw
2020-11-23 00:59:19 +00:00
2020-11-23 01:56:09 +00:00
- name: Get LPeg
run: |
curl -o lpeg.tar.gz http://www.inf.puc-rio.br/~roberto/lpeg/lpeg-1.0.2.tar.gz
tar -xZf lpeg.tar.gz
- name: Get Luafilesystem
run: |
curl -o luafilesystem.tar.gz https://github.com/keplerproject/luafilesystem/archive/v1_8_0.tar.gz
tar -xZf luafilesystem.tar.gz
2020-11-23 01:01:02 +00:00
- name: List Files
2020-11-23 01:10:22 +00:00
run: Get-ChildItem -Recurse
2020-11-23 00:48:18 +00:00
2020-11-23 01:38:50 +00:00
- name: Run Lua
run: lua-5.1.5/src/lua.exe -v
2020-11-23 00:48:18 +00:00