Skip to content

accept parsers that produce different values #59

accept parsers that produce different values

accept parsers that produce different values #59

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 }}"