Remove inkwell dependence. Use llvm-sys directly via safe wrappers #297
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: pliron | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
name: Build and Test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: dtolnay/rust-toolchain@stable | |
- name: Setup LLVM | |
run: | | |
wget https://apt.llvm.org/llvm.sh | |
chmod +x llvm.sh | |
sudo ./llvm.sh 17 all | |
- name: Build | |
run: RUSTFLAGS="-D warnings" cargo build --workspace --verbose | |
- name: Tests | |
run: cargo test --workspace --verbose | |
- name: Clippy | |
run: cargo clippy --workspace -- -D warnings | |
- name: Format | |
run: cargo fmt --check | |
- name: Documentation | |
run: RUSTDOCFLAGS="-D warnings" cargo doc --workspace |