Skip to content

parser: handle Token.has_error when dumping tokens #60

parser: handle Token.has_error when dumping tokens

parser: handle Token.has_error when dumping tokens #60

Workflow file for this run

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