parse if (true): x
#1210
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: ['cmd/**.v', 'compiler/**.v', '.github/workflows/compiler_tests.yml', 'tests/**'] | |
pull_request: | |
paths: ['cmd/**.v', 'compiler/**.v', '.github/workflows/compiler_tests.yml', 'tests/**'] | |
types: [opened, synchronize] | |
jobs: | |
ubuntu-gcc: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build V | |
run: | | |
git clone https://github.com/vlang/v | |
cd v && make && sudo ./v symlink | |
cd .. | |
- name: Build Rivet compiler | |
run: | | |
v -o rivetc cmd/ | |
- name: Run Rivet compiler tests | |
run: | | |
v test compiler | |
v tests/run_tests.vsh |