update build scripts #486
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
# Workflow's name | |
name: linux-gcc | |
# Run this workflow every time a new commit pushed to your repository | |
on: [push, pull_request] | |
jobs: | |
linux-gcc: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- name: Installing premake5 | |
uses: Jarod42/install-premake5@v1 | |
- name: Build | |
run: | | |
premake5 build | |
- name: Test | |
run: chmod +x moon && ./moon test/main_test.lua | |