Skip to content

Commit a8b0258

Browse files
Merge pull request #82 from lambdaclass/our-changes
Apply our changes to 0.14.1
2 parents ca98a6a + d0191f8 commit a8b0258

File tree

13 files changed

+1061
-137
lines changed

13 files changed

+1061
-137
lines changed

.github/workflows/replay.yml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
name: Replay
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
- main-v[0-9].**
8+
pull_request:
9+
10+
jobs:
11+
clippy:
12+
runs-on: ubuntu-latest
13+
env:
14+
MLIR_SYS_190_PREFIX: /usr/lib/llvm-19/
15+
LLVM_SYS_191_PREFIX: /usr/lib/llvm-19/
16+
TABLEGEN_190_PREFIX: /usr/lib/llvm-19/
17+
steps:
18+
- uses: actions/checkout@v4
19+
- uses: dtolnay/[email protected]
20+
with:
21+
components: clippy
22+
- uses: Swatinem/rust-cache@v2
23+
- name: Add LLVM Debian repository
24+
uses: myci-actions/add-deb-repo@10
25+
with:
26+
repo: deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy-19 main
27+
repo-name: llvm-repo
28+
keys-asc: https://apt.llvm.org/llvm-snapshot.gpg.key
29+
- name: Install lld
30+
run: sudo apt install lld
31+
- name: Install LLVM
32+
run: sudo apt-get install llvm-19 llvm-19-dev llvm-19-runtime clang-19 clang-tools-19 lld-19 libpolly-19-dev libmlir-19-dev mlir-19-tools
33+
- name: Run cargo clippy
34+
run: |
35+
cd crates/blockifier
36+
cargo clippy --all-targets --all-features --no-deps
37+
format:
38+
runs-on: ubuntu-latest
39+
steps:
40+
- uses: actions/checkout@v4
41+
- uses: dtolnay/rust-toolchain@nightly
42+
with:
43+
toolchain: nightly-2023-10-19
44+
components: rustfmt
45+
- name: Run cargo fmt
46+
run: cargo +nightly-2023-10-19 fmt --all -- --check

0 commit comments

Comments
 (0)