Skip to content

Commit

Permalink
ci: adjust CI parameters to trigger plonk feature
Browse files Browse the repository at this point in the history
  • Loading branch information
huitseeker committed Jun 16, 2024
1 parent a787e2f commit ba0dd1f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 11 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ jobs:
uses: ./.github/actions/setup
with:
pull_token: ${{ secrets.REPO_TOKEN }}
- name: Run cargo test on sphinx except the test_e2e_prove_plonk recursion test
- name: Run cargo test on *all of* sphinx except the test_e2e_prove_plonk recursion test
run: |
cargo nextest run --cargo-profile dev-ci --profile ci --workspace --features "plonk" -E 'all() - test(test_e2e_prove_plonk)'
- name: Run cargo test with no default features
run: |
cargo nextest run -p sphinx-core --cargo-profile dev-ci --profile ci --no-default-features --features "debug" -- cpu::trace::tests::generate_trace
cargo nextest run -p sphinx-core --cargo-profile dev-ci --profile ci --no-default-features --features "debug" -E 'test(cpu::trace::tests)'
working-directory: ${{ github.workspace }}/examples

test-recursion-circuit:
Expand All @@ -46,7 +46,7 @@ jobs:
pull_token: ${{ secrets.REPO_TOKEN }}
- name: Run cargo test on the recursion circuit
run: |
cargo nextest run --cargo-profile dev-ci --profile ci -p sphinx-recursion-circuit
cargo nextest run --cargo-profile dev-ci --profile ci --features "plonk" -E 'package(sphinx-recursion-circuit)'
clippy:
runs-on: warp-ubuntu-latest-x64-16x
Expand Down
3 changes: 0 additions & 3 deletions prover/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@
//! 3. Wrap the shard proof into a SNARK-friendly field.
//! 4. Wrap the last shard proof, proven over the SNARK-friendly field, into a PLONK proof.
#![allow(clippy::too_many_arguments)]
#![allow(clippy::new_without_default)]

pub mod build;
pub mod install;
pub mod types;
Expand Down
5 changes: 0 additions & 5 deletions recursion/gnark-ffi/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,6 @@ fn main() {
println!("Go library built");

// Link the Go library
#[cfg(target_os = "macos")]
{
println!("cargo:rustc-link-lib=framework=Security");
println!("cargo:rustc-link-lib=framework=CoreFoundation");
}
println!("cargo:rustc-link-search=native={}", dest_path.display());
println!("cargo:rustc-link-lib=static={}", lib_name);

Expand Down

0 comments on commit ba0dd1f

Please sign in to comment.