feat: combinator based parser #61
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, pull_request] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
strace-parser: [combinator, peg, regex] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: stable | |
- run: cargo build --no-default-features --features strace-parser-${{matrix.strace-parser}} --verbose | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
strace-parser: [combinator, peg, regex] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: stable | |
- run: cargo test --bins --no-default-features --features strace-parser-${{matrix.strace-parser}} --verbose | |
clippy: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
strace-parser: [combinator, peg, regex] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: stable | |
components: clippy | |
- run: cargo clippy --no-default-features --features strace-parser-${{matrix.strace-parser}} -- -D warnings | |
fmt: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: stable | |
components: rustfmt | |
- run: cargo fmt --all -- --check |