Skip to content

move some expression parsing into standalone functions #49

move some expression parsing into standalone functions

move some expression parsing into standalone functions #49

name: "Build and Test"
on: "push"
jobs:
build-and-test:
runs-on: "ubuntu-latest"
env:
CARGO_TERM_COLOR: "always"
LLVM_PATH: "./llvm"
steps:
- name: "Checkout code"
uses: "actions/checkout@v4"
- name: "Install LLVM and Clang"
uses: "KyleMayes/install-llvm-action@v2"
with:
version: "17.0"
directory: "${{ env.LLVM_PATH }}"
- name: "Cache build artifacts"
uses: "Swatinem/rust-cache@v2"
- name: "Clippy"
run: cargo clippy --verbose
env:
LLVM_SYS_170_PREFIX: "${{ env.LLVM_PATH }}"
- name: "Build"
run: cargo build --verbose
env:
LLVM_SYS_170_PREFIX: "${{ env.LLVM_PATH }}"
- name: "Test"
run: cargo test --verbose
env:
LLVM_SYS_170_PREFIX: "${{ env.LLVM_PATH }}"