Skip to content

Commit

Permalink
Add rust crate for stwo cairo prover
Browse files Browse the repository at this point in the history
  • Loading branch information
shaharsamocha7 committed Jun 20, 2024
1 parent 9e0451a commit ea5fc39
Show file tree
Hide file tree
Showing 6 changed files with 33 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/cairo-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,18 @@ jobs:
scarb-version: "nightly-2024-04-24"
- run: scarb fmt --check
- run: scarb test

run-tests:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./stwo_cairo_prover
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@master
with:
components: rustfmt
profile: minimal
toolchain: nightly-2024-01-04
- uses: Swatinem/rust-cache@v2
- run: cargo +nightly-2024-01-04 test --release
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/target
7 changes: 7 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[workspace]
members = ["stwo_cairo_prover"]
resolver = "2"
4 changes: 4 additions & 0 deletions stwo_cairo_prover/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[package]
name = "stwo_cairo_prover"
version = "0.1.0"
edition = "2021"
3 changes: 3 additions & 0 deletions stwo_cairo_prover/src/main.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
fn main() {
println!("Hello, world!");
}

0 comments on commit ea5fc39

Please sign in to comment.