improve error reporting (basic) #1143
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: | |
paths: ['src/**.v', '.github/workflows/compiler_tests.yml'] | |
pull_request: | |
paths: ['src/**.v', '.github/workflows/compiler_tests.yml'] | |
types: [opened, synchronize] | |
jobs: | |
ubuntu-gcc: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build Rivet compiler | |
run: | | |
git clone https://github.com/vlang/v | |
cd v && make && sudo ./v symlink | |
cd .. | |
v . -o rivetc && ./rivetc test.ri | |
v test src |