From 135ed701b39dabed2c53d73bf6f6b62bad25d648 Mon Sep 17 00:00:00 2001 From: mrwulf Date: Tue, 30 Jun 2026 17:44:30 +0200 Subject: [PATCH] chore: remove upstream CI workflows (not our CI infrastructure) --- .github/workflows/cross.yml | 44 ------- .github/workflows/curve25519-dalek.yml | 163 ------------------------- .github/workflows/ed25519-dalek.yml | 33 ----- .github/workflows/workspace.yml | 128 ------------------- .github/workflows/x25519-dalek.yml | 33 ----- 5 files changed, 401 deletions(-) delete mode 100644 .github/workflows/cross.yml delete mode 100644 .github/workflows/curve25519-dalek.yml delete mode 100644 .github/workflows/ed25519-dalek.yml delete mode 100644 .github/workflows/workspace.yml delete mode 100644 .github/workflows/x25519-dalek.yml diff --git a/.github/workflows/cross.yml b/.github/workflows/cross.yml deleted file mode 100644 index 40e89f4..0000000 --- a/.github/workflows/cross.yml +++ /dev/null @@ -1,44 +0,0 @@ -name: Cross - -on: - push: - branches: [ '**' ] - pull_request: - branches: [ '**' ] - -env: - CARGO_TERM_COLOR: always - RUSTFLAGS: '-D warnings' - -jobs: - - test-cross: - name: Test - strategy: - matrix: - include: - # ARM32 - - target: armv7-unknown-linux-gnueabihf - rust: stable - - # ARM64 - - target: aarch64-unknown-linux-gnu - rust: stable - - # PPC32 - - target: powerpc-unknown-linux-gnu - rust: stable - - # TODO: We only test x/ed/curve for cross as derive is platform specifics - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - run: ${{ matrix.deps }} - - uses: dtolnay/rust-toolchain@master - with: - toolchain: ${{ matrix.rust }} - targets: ${{ matrix.target }} - - uses: RustCrypto/actions/cross-install@master - - run: cross test -p curve25519-dalek --release --target ${{ matrix.target }} - - run: cross test -p ed25519-dalek --release --target ${{ matrix.target }} - - run: cross test -p x25519-dalek --release --target ${{ matrix.target }} diff --git a/.github/workflows/curve25519-dalek.yml b/.github/workflows/curve25519-dalek.yml deleted file mode 100644 index ee27421..0000000 --- a/.github/workflows/curve25519-dalek.yml +++ /dev/null @@ -1,163 +0,0 @@ -name: curve25519 Rust - -on: - push: - branches: [ '**' ] - paths: - - 'curve25519-dalek/**' - - '.github/workflows/curve25519-dalek.yml' - pull_request: - branches: [ '**' ] - paths: - - 'curve25519-dalek/**' - - '.github/workflows/curve25519-dalek.yml' - -defaults: - run: - working-directory: curve25519-dalek - -env: - CARGO_TERM_COLOR: always - RUSTFLAGS: '-D warnings' - -jobs: - - test-fiat: - name: Test fiat backend - runs-on: ubuntu-latest - strategy: - matrix: - include: - # 32-bit target - - target: i686-unknown-linux-gnu - deps: sudo apt update && sudo apt install gcc-multilib - - # 64-bit target - - target: x86_64-unknown-linux-gnu - steps: - - uses: actions/checkout@v3 - - uses: dtolnay/rust-toolchain@stable - - run: rustup target add ${{ matrix.target }} - - run: ${{ matrix.deps }} - - env: - RUSTFLAGS: '--cfg curve25519_dalek_backend="fiat"' - run: cargo test --target ${{ matrix.target }} - - # Default no_std test only tests using serial across all crates - build-nostd-fiat: - name: Build fiat on no_std target (thumbv7em-none-eabi) - runs-on: ubuntu-latest - strategy: - matrix: - include: - - crate: curve25519-dalek - steps: - - uses: actions/checkout@v3 - - uses: dtolnay/rust-toolchain@master - with: - toolchain: stable - targets: thumbv7em-none-eabi - - uses: taiki-e/install-action@cargo-hack - # No default features build - - name: no_std fiat / no feat ${{ matrix.crate }} - env: - RUSTFLAGS: '--cfg curve25519_dalek_backend="fiat"' - run: cargo build -p ${{ matrix.crate }} --target thumbv7em-none-eabi --release --no-default-features - - name: no_std fiat / cargo hack ${{ matrix.crate }} - env: - RUSTFLAGS: '--cfg curve25519_dalek_backend="fiat"' - run: cargo hack build -p ${{ matrix.crate }} --target thumbv7em-none-eabi --release --each-feature --exclude-features default,std,getrandom - - test-serial: - name: Test serial backend - runs-on: ubuntu-latest - strategy: - matrix: - include: - # 32-bit target - - target: i686-unknown-linux-gnu - deps: sudo apt update && sudo apt install gcc-multilib - - # 64-bit target - - target: x86_64-unknown-linux-gnu - steps: - - uses: actions/checkout@v3 - - uses: dtolnay/rust-toolchain@stable - - run: rustup target add ${{ matrix.target }} - - run: ${{ matrix.deps }} - - env: - RUSTFLAGS: '--cfg curve25519_dalek_backend="serial"' - run: cargo test --target ${{ matrix.target }} - - build-script: - name: Test Build Script - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: dtolnay/rust-toolchain@master - with: - toolchain: stable - targets: wasm32-unknown-unknown,x86_64-unknown-linux-gnu,i686-unknown-linux-gnu - - run: bash tests/build_tests.sh - - test-simd-nightly: - name: Test simd backend (nightly) - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: dtolnay/rust-toolchain@nightly - - env: - # This will: - # 1) build all of the x86_64 SIMD code, - # 2) run all of the SIMD-specific tests that the test runner supports, - # 3) run all of the normal tests using the best available SIMD backend. - # This should automatically pick up the simd backend in a x84_64 runner - RUSTFLAGS: '-C target_cpu=native' - run: cargo test --target x86_64-unknown-linux-gnu - - test-simd-stable: - name: Test simd backend (stable) - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: dtolnay/rust-toolchain@stable - - env: - # This will run AVX2-specific tests and run all of the normal tests - # with the AVX2 backend, even if the runner supports AVX512. - # This should automatically pick up the simd backend in a x86_64 runner - # It should pick AVX2 due to stable toolchain used since AVX512 requires nigthly - RUSTFLAGS: '-C target_feature=+avx2' - run: cargo test --no-default-features --features alloc,precomputed-tables,zeroize,group --target x86_64-unknown-linux-gnu - - test-avx512-sde: - name: Test avx512 backend under Intel SDE - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: dtolnay/rust-toolchain@stable - - uses: RustCrypto/actions/intel-sde-install@master - - name: Route the target through sde64 - run: | - mkdir -p .cargo - echo '[target.x86_64-unknown-linux-gnu]' > .cargo/config.toml - echo 'runner = "sde64 -future --"' >> .cargo/config.toml - - env: - # avx512ifma + avx512vl are the two extensions curve25519-dalek's avx512 backend needs - RUSTFLAGS: '-C target_feature=+avx512ifma,+avx512vl' - RUSTDOCFLAGS: '-C target_feature=+avx512ifma,+avx512vl' - run: cargo test --target x86_64-unknown-linux-gnu - - msrv: - name: Current MSRV is 1.85.0 - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - # Re-resolve Cargo.lock with minimal versions - - uses: dtolnay/rust-toolchain@nightly - - run: cargo update -Z minimal-versions - # Now check that `cargo build` works with respect to the oldest possible - # deps and the stated MSRV - - uses: dtolnay/rust-toolchain@1.85.0 - - run: cargo build --no-default-features --features serde - # Also make sure the AVX2 build works - - run: cargo build --target x86_64-unknown-linux-gnu diff --git a/.github/workflows/ed25519-dalek.yml b/.github/workflows/ed25519-dalek.yml deleted file mode 100644 index 4e931ce..0000000 --- a/.github/workflows/ed25519-dalek.yml +++ /dev/null @@ -1,33 +0,0 @@ -name: ed25519 Rust - -on: - push: - branches: [ '**' ] - paths: 'ed25519-dalek/**' - pull_request: - branches: [ '**' ] - paths: 'ed25519-dalek/**' - -defaults: - run: - working-directory: ed25519-dalek - -env: - CARGO_TERM_COLOR: always - RUSTFLAGS: '-D warnings' - RUSTDOCFLAGS: '-D warnings' - -jobs: - - msrv: - name: Current MSRV is 1.85.0 - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - # Re-resolve Cargo.lock with minimal versions - - uses: dtolnay/rust-toolchain@nightly - - run: cargo update -Z minimal-versions - # Now check that `cargo build` works with respect to the oldest possible - # deps and the stated MSRV - - uses: dtolnay/rust-toolchain@1.85.0 - - run: cargo build diff --git a/.github/workflows/workspace.yml b/.github/workflows/workspace.yml deleted file mode 100644 index 8a1cf5c..0000000 --- a/.github/workflows/workspace.yml +++ /dev/null @@ -1,128 +0,0 @@ -name: All - -on: - push: - branches: [ '**' ] - pull_request: - branches: [ '**' ] - -env: - CARGO_TERM_COLOR: always - RUSTFLAGS: '-D warnings' - -jobs: - test-stable: - name: Test 32/64 bit stable - runs-on: ubuntu-latest - strategy: - matrix: - include: - # 32-bit target - - target: i686-unknown-linux-gnu - deps: sudo apt update && sudo apt install gcc-multilib - - # 64-bit target - - target: x86_64-unknown-linux-gnu - steps: - - uses: actions/checkout@v3 - - uses: dtolnay/rust-toolchain@stable - - run: rustup target add ${{ matrix.target }} - - run: ${{ matrix.deps }} - - run: cargo test --target ${{ matrix.target }} --no-default-features - - run: cargo test --target ${{ matrix.target }} - - run: cargo test --target ${{ matrix.target }} --all-features - - test-nightly: - name: Test Nightly - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: dtolnay/rust-toolchain@nightly - - run: cargo test - - bench: - name: Check that benchmarks compile - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: dtolnay/rust-toolchain@stable - - name: Build u32 bench - env: - RUSTFLAGS: '--cfg curve25519_dalek_bits="32"' - run: cargo build --benches - - name: Build u64 bench - env: - RUSTFLAGS: '--cfg curve25519_dalek_bits="64"' - run: cargo build --benches - - name: Build default (host native) bench - run: cargo build --benches - - # Test no_std with serial (default) - build-nostd-serial: - name: Build serial on no_std target (thumbv7em-none-eabi) - runs-on: ubuntu-latest - strategy: - matrix: - include: - - crate: curve25519-dalek - - crate: ed25519-dalek - - crate: x25519-dalek - steps: - - uses: actions/checkout@v3 - - uses: dtolnay/rust-toolchain@master - with: - toolchain: stable - targets: thumbv7em-none-eabi - - uses: taiki-e/install-action@cargo-hack - # No default features build - - name: no_std / no feat ${{ matrix.crate }} - run: cargo build -p ${{ matrix.crate }} --target thumbv7em-none-eabi --release --no-default-features - - name: no_std / cargo hack ${{ matrix.crate }} - run: cargo hack build -p ${{ matrix.crate }} --target thumbv7em-none-eabi --release --each-feature --exclude-features default,std,getrandom - - clippy: - name: Check that clippy is happy - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: dtolnay/rust-toolchain@1.87.0 - with: - components: clippy - - run: cargo clippy --target x86_64-unknown-linux-gnu --all-features - - rustfmt: - name: Check formatting - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: dtolnay/rust-toolchain@stable - with: - components: rustfmt - - run: cargo fmt --all -- --check - - doc: - name: Check docs - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: dtolnay/rust-toolchain@stable - with: - toolchain: stable - - run: cargo doc --all-features - - docsrs: - name: Check docs-rs build - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: dtolnay/rust-toolchain@nightly - - run: cargo doc --all-features --no-deps - env: - RUSTDOCFLAGS: '--cfg docsrs' - - typos: - name: Check for typos - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: crate-ci/typos@v1.33.1 diff --git a/.github/workflows/x25519-dalek.yml b/.github/workflows/x25519-dalek.yml deleted file mode 100644 index 217a291..0000000 --- a/.github/workflows/x25519-dalek.yml +++ /dev/null @@ -1,33 +0,0 @@ -name: x25519 Rust - -on: - push: - branches: [ '**' ] - paths: 'x25519-dalek/**' - pull_request: - branches: [ '**' ] - paths: 'x25519-dalek/**' - -defaults: - run: - working-directory: x25519-dalek - -env: - CARGO_TERM_COLOR: always - RUSTFLAGS: '-D warnings' - RUSTDOCFLAGS: '-D warnings' - -jobs: - - msrv: - name: Current MSRV is 1.85.0 - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - # Re-resolve Cargo.lock with minimal versions - - uses: dtolnay/rust-toolchain@nightly - - run: cargo update -Z minimal-versions - # Now check that `cargo build` works with respect to the oldest possible - # deps and the stated MSRV - - uses: dtolnay/rust-toolchain@1.85.0 - - run: cargo build