astgen: parse result types #116
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: Compiler Tests | |
on: | |
push: | |
branches: | |
- 'main' | |
paths: ['bsc/**', '.github/workflows/compiler_test.yml', 'tests/**'] | |
pull_request: | |
paths: ['bsc/**', '.github/workflows/compiler_test.yml', 'tests/**'] | |
types: [opened, synchronize] | |
jobs: | |
ubuntu-python: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install lark and LuaJIT | |
run: | | |
sudo pip3 install lark | |
sudo apt install luajit | |
- name: Check invalid code | |
run: | | |
python3 tests/check_invalid_code.py | |
- name: Check Code Generation | |
run: | | |
python3 bsc examples/hello_world.bs | |
python3 bsc tests/main.bs | |
luajit bsc-out/main.lua |