Skip to content

Commit

Permalink
Replaced 'blockifier' with 'sequencer'
Browse files Browse the repository at this point in the history
  • Loading branch information
Eagle941 committed Oct 21, 2024
1 parent db34f53 commit e050396
Show file tree
Hide file tree
Showing 17 changed files with 1,554 additions and 1,870 deletions.
5 changes: 5 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[env]
# These environment variables are needed because dependency `sequencer` requires llvm-18 installed.
LLVM_SYS_181_PREFIX = "/usr/lib/llvm-18/"
MLIR_SYS_180_PREFIX = "/usr/lib/llvm-18/"
TABLEGEN_180_PREFIX = "/usr/lib/llvm-18/"
9 changes: 8 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,15 @@ name: Push Checks
on: push

env:
RUST_VERSION: 1.78.0 # If this is updated, update `Cargo.toml`.
RUST_VERSION: 1.81.0 # If this is updated, update `Cargo.toml`.
CARGO_TERM_COLOR: always
RUSTDOCFLAGS: "-D warnings" # Fail on `cargo doc` warnings.

jobs:
build:
name: Test
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
Expand All @@ -26,6 +27,8 @@ jobs:
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
- name: Install LLVM
run: bash dependencies.sh
- name: Build
run: cargo build --locked
- name: Run tests
Expand All @@ -47,6 +50,8 @@ jobs:
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
- name: Install LLVM
run: bash dependencies.sh
- name: Cargo clippy
run: cargo clippy --locked --all-targets --all-features -- -D warnings

Expand Down Expand Up @@ -92,5 +97,7 @@ jobs:
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
- name: Install LLVM
run: bash dependencies.sh
- name: Cargo doc
run: cargo doc --no-deps --document-private-items --locked
Loading

0 comments on commit e050396

Please sign in to comment.