Skip to content

Slightly changed parser, massively improving performance. #66

Slightly changed parser, massively improving performance.

Slightly changed parser, massively improving performance. #66

Workflow file for this run

name: Rust
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
permissions: write-all
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/cache@v3
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Install llvm-16
run: wget https://apt.llvm.org/llvm.sh
&& chmod +x llvm.sh
&& sudo ./llvm.sh 16
&& sudo apt install libpolly-16-dev libz-dev
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
- name: Make docs
run: cargo doc --no-deps
- name: Fix file permissions
shell: sh
run: chmod -c -R +rX "target/doc"
- name: Add index
run: echo "<meta http-equiv=\"refresh\" content=\"0; url=beta\">" > target/doc/index.html
- name: Upload GitHub Pages artifact
uses: actions/[email protected]
with:
path: target/doc/
- name: Deploy GitHub Pages site
uses: actions/[email protected]