Skip to content

update github actions #238

update github actions

update github actions #238

# Workflow's name
name: windows-vs2022
# Run this workflow every time a new commit pushed to your repository
on: [push, pull_request]
jobs:
windows-vs2022:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: true
- name: Installing premake5
uses: Jarod42/install-premake5@v1
- name: setup msbuild
uses: microsoft/[email protected]
- name: Build
run: |
premake5 vs2022
msbuild /m Server.sln /p:configuration="release"
- name: Test
run: .\moon.exe test/main_test.lua