Fix #20
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: Build & Test | |
on: [push] | |
jobs: | |
ci: | |
name: Build & Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up repository | |
uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
- name: Set up GCC | |
uses: egor-tensin/setup-gcc@v1 | |
- name: Set up Lua | |
run: > | |
sudo apt install -yq libreadline-dev libncurses-dev | |
lua5.1 lua5.2 lua5.3 liblua5.1-0-dev | |
liblua5.2-dev liblua5.3-dev | |
- name: Installing Meson and Ninja | |
run: pip install meson ninja | |
- name: Configure using meson | |
run: meson . _BUILD | |
- name: Build with Ninja | |
run: ninja -C _BUILD | |
- name: Running Meson tests | |
run: meson test -C _BUILD |