Skip to content

Commit

Permalink
feat: add rust cairo compiler to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
zmalatrax committed Jul 15, 2024
1 parent 2cf3176 commit c5ecf1b
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,20 @@ jobs:
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
run: poetry install --no-interaction --no-root

- name: Configure Rust toolchain
uses: dtolnay/rust-toolchain@stable

- name: Build cairo-compile
run: cargo build --release --bin cairo-compile

- name: Build sierra-compile-json
run: cargo build --release --bin sierra-compile-json

- name: Cache Rust dependencies
uses: Swatinem/rust-cache@v2
with:
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}

- name: Compile cairo files
run: make compile

Expand Down

0 comments on commit c5ecf1b

Please sign in to comment.