parser: handle Token.has_error when dumping tokens #60
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: CI | |
on: | |
push: | |
branches: [ master, dev, ci_testing, bb_next ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build-linux: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
build_type: [Release, Debug] | |
llvm_version: [16] | |
steps: | |
- name: clone repo | |
uses: actions/checkout@v3 | |
- name: clone c2libs | |
uses: actions/checkout@master | |
with: | |
repository: c2lang/c2_libs | |
path: c2_libs | |
- name: bootstrap | |
run: | | |
export C2_LIBDIR=c2_libs | |
export C2_PLUGINDIR=c2_plugins | |
make -C bootstrap | |
- name: compile | |
run: | | |
export C2_LIBDIR=c2_libs | |
export C2_PLUGINDIR=c2_plugins | |
./output/c2c/c2c --noplugins | |
- name: run unit-tests | |
run: | | |
export C2_LIBDIR=c2_libs | |
export C2_PLUGINDIR=c2_plugins | |
./output/tester/tester test | |