From 780133c61397dcf6c63211c106d0d318f471a70e Mon Sep 17 00:00:00 2001 From: stas Date: Wed, 13 Mar 2024 14:22:09 -0400 Subject: [PATCH] debug --- .github/workflows/manual_workflow.yml | 4 ++-- zkbench/src/main.rs | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/manual_workflow.yml b/.github/workflows/manual_workflow.yml index 39109e6..877f7ee 100644 --- a/.github/workflows/manual_workflow.yml +++ b/.github/workflows/manual_workflow.yml @@ -21,7 +21,7 @@ jobs: run: | docker rm zk-benchmarks || true docker rmi zk-benchmarks-image || true - docker system prune -a --force --volumes + # docker system prune -a --force --volumes docker build -t zk-benchmarks-image . - name: Run Rust benchmarks inside a Docker container @@ -29,7 +29,7 @@ jobs: DATABASE_URL: ${{ secrets.DATABASE_URL }} #run: docker run --rm -e DATABASE_URL="${DATABASE_URL}" --gpus all --name zk-benchmarks -w /app/zk-benchmarks zk-benchmarks-image:latest /bin/bash -c "cd /app/zk-benchmarks/benchmarks/rust/msm && cargo bench" # run: docker run --rm -e BENCHMARK_REPO=/app/icicle -e DATABASE_URL="${DATABASE_URL}" --gpus all --name zk-benchmarks -w /app/zk-benchmarks zk-benchmarks-image:latest /bin/bash -c "cd /app/zk-benchmarks/zkbench && cargo run" - run: docker run --rm -e BENCHMARK_REPO=/app/icicle -e DATABASE_URL="${DATABASE_URL}" --gpus all --name zk-benchmarks -w /app/zk-benchmarks zk-benchmarks-image:latest /bin/bash -c "cd /app/zk-benchmarks/zkbench && pwd && ls -la && cargo run" + run: docker run --rm -e BENCHMARK_REPO=/app/icicle -e DATABASE_URL="${DATABASE_URL}" --gpus all --name zk-benchmarks -w /app/zk-benchmarks zk-benchmarks-image:latest /bin/bash -c "cd /app/zk-benchmarks && git pull && git rev-parse --abbrev-ref HEAD && git rev-parse --short HEAD; cd /app/zk-benchmarks/zkbench && cargo run" # - name: Benchmark Rust MSM operation # run: | diff --git a/zkbench/src/main.rs b/zkbench/src/main.rs index fbedd92..60490f0 100644 --- a/zkbench/src/main.rs +++ b/zkbench/src/main.rs @@ -1,3 +1,4 @@ fn main() { println!("Hello, world!"); + println!("New version!"); } \ No newline at end of file