From e76c0319755f3e49731b3345a532188a80b2ddf9 Mon Sep 17 00:00:00 2001 From: "Jason.Huang" Date: Mon, 3 Jun 2024 18:06:03 +0800 Subject: [PATCH] actions: disable wasm and no-std --- .../continuous-integration-workflow.yml | 80 ------------------- 1 file changed, 80 deletions(-) diff --git a/.github/workflows/continuous-integration-workflow.yml b/.github/workflows/continuous-integration-workflow.yml index eb45c89e9d..dd2e62f40b 100644 --- a/.github/workflows/continuous-integration-workflow.yml +++ b/.github/workflows/continuous-integration-workflow.yml @@ -64,86 +64,6 @@ jobs: CARGO_INCREMENTAL: 1 RUST_BACKTRACE: 1 - wasm: - name: Check wasm32 compatibility - runs-on: ubuntu-latest - timeout-minutes: 30 - if: "! contains(toJSON(github.event.commits.*.message), '[skip-ci]')" - steps: - - name: Checkout sources - uses: actions/checkout@v4 - - - name: Install nightly toolchain - uses: dtolnay/rust-toolchain@nightly - with: - targets: wasm32-unknown-unknown - - - name: Add SSH private keys for submodule repositories - uses: webfactory/ssh-agent@v0.9.0 - with: - ssh-private-key: ${{ secrets.CRYPTOGRAPHY_CUDA_READ_ONLY }} - - - name: Set up rust cache - uses: Swatinem/rust-cache@v2 - with: - cache-on-failure: true - - - name: Check in plonky2 subdirectory for wasm targets - run: cargo check --manifest-path plonky2/Cargo.toml --target wasm32-unknown-unknown --no-default-features - env: - RUSTFLAGS: -Copt-level=3 -Cdebug-assertions -Coverflow-checks=y -Cdebuginfo=0 - RUST_LOG: 1 - CARGO_INCREMENTAL: 1 - RUST_BACKTRACE: 1 - - - name: Check in starky subdirectory for wasm targets - run: cargo check --manifest-path starky/Cargo.toml --target wasm32-unknown-unknown --no-default-features - env: - RUSTFLAGS: -Copt-level=3 -Cdebug-assertions -Coverflow-checks=y -Cdebuginfo=0 - RUST_LOG: 1 - CARGO_INCREMENTAL: 1 - RUST_BACKTRACE: 1 - - no_std: - name: Test Suite in no-std - runs-on: ubuntu-latest - timeout-minutes: 30 - if: "! contains(toJSON(github.event.commits.*.message), '[skip-ci]')" - steps: - - name: Checkout sources - uses: actions/checkout@v4 - - - name: Add SSH private keys for submodule repositories - uses: webfactory/ssh-agent@v0.9.0 - with: - ssh-private-key: ${{ secrets.CRYPTOGRAPHY_CUDA_READ_ONLY }} - - - name: Install nightly toolchain - uses: dtolnay/rust-toolchain@master - with: - toolchain: nightly-2024-02-01 - - - name: Set up rust cache - uses: Swatinem/rust-cache@v2 - with: - cache-on-failure: true - - - name: Run cargo test in plonky2 subdirectory (no-std) - run: cargo test --manifest-path plonky2/Cargo.toml --no-default-features --lib - env: - RUSTFLAGS: -Copt-level=3 -Cdebug-assertions -Coverflow-checks=y -Cdebuginfo=0 - RUST_LOG: 1 - CARGO_INCREMENTAL: 1 - RUST_BACKTRACE: 1 - - - name: Run cargo test in starky subdirectory (no-std) - run: cargo test --manifest-path starky/Cargo.toml --no-default-features --lib - env: - RUSTFLAGS: -Copt-level=3 -Cdebug-assertions -Coverflow-checks=y -Cdebuginfo=0 - RUST_LOG: 1 - CARGO_INCREMENTAL: 1 - RUST_BACKTRACE: 1 - lints: name: Formatting runs-on: ubuntu-latest