Updated docs. [skip CI] #1125
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: Linux | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
if: "!contains(github.event.head_commit.message, '[skip CI]') && !contains(github.event.head_commit.message, '[skip Linux]')" | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v2 | |
- name: Install deps | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y libsdl2-dev libgl1-mesa-dev libssl-dev x11proto-core-dev libx11-dev | |
- name: Generate Lua bindings | |
run: | | |
sudo apt-get install lua5.1 | |
sudo apt-get install -y luarocks | |
sudo luarocks install luafilesystem | |
cd ./Tools/tolua++ | |
lua tolua++.lua | |
- name: Make | |
run: | | |
cd Projects/Linux | |
make x86_64 |