Skip to content

feat: basic ir generation #24

feat: basic ir generation

feat: basic ir generation #24

Workflow file for this run

name: Build and Test CI
on:
push:
branches:
- '**'
pull_request:
branches:
- main
jobs:
main:
runs-on: ubuntu-latest
defaults:
run:
shell: bash
steps:
- name: Install dependencies
run: sudo apt-get update && sudo apt-get install libboost-all-dev libgtest-dev flex libfl-dev cmake
- name: Checkout repository
uses: actions/checkout@v3
with:
submodules: recursive
- name: CMake config
run: |
export PATH=/usr/local/bison/bin/:$PATH
cmake -S ./ -B build -DCMAKE_BUILD_TYPE=Release
- name: CMake build
run: |
cmake --build build
- name: CMake test
run: |-
env CTEST_OUTPUT_ON_FAILURE=1
cmake --build build --target test