Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/go_modules/benchmarks/benches/cir…
Browse files Browse the repository at this point in the history
…cl/golang.org/x/crypto-0.31.0
  • Loading branch information
franziskuskiefer authored Dec 19, 2024
2 parents 95bb6cb + d45d29b commit 8f734b2
Show file tree
Hide file tree
Showing 450 changed files with 70,260 additions and 26,940 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ecdh.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
if: ${{ matrix.bits == 64 }}

- name: 🛠️ Setup Rust Nightly
run: rustup toolchain install nightly
run: rustup toolchain install nightly-2024-12-14

- name: 🛠️ Setup Ubuntu x86
if: ${{ matrix.bits == 32 && matrix.os == 'ubuntu-latest' }}
Expand Down Expand Up @@ -82,9 +82,10 @@ jobs:
- name: 🔨 Build Release
run: cargo build --verbose --release $RUST_TARGET_FLAG

# TODO: https://github.com/cryspen/libcrux/issues/717
- name: 🏃🏻 Asan MacOS
if: ${{ matrix.os == 'macos-latest' }}
run: RUSTDOCFLAGS=-Zsanitizer=address RUSTFLAGS=-Zsanitizer=address cargo +nightly test --release --target aarch64-apple-darwin
run: RUSTDOCFLAGS=-Zsanitizer=address RUSTFLAGS=-Zsanitizer=address cargo +nightly-2024-12-14 test --release --target aarch64-apple-darwin

# - name: ⬆ Upload build
# uses: ./.github/actions/upload_artifacts
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/kem.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
if: ${{ matrix.bits == 64 }}

- name: 🛠️ Setup Rust Nightly
run: rustup toolchain install nightly
run: rustup toolchain install nightly-2024-12-14

- name: 🛠️ Setup Ubuntu x86
if: ${{ matrix.bits == 32 && matrix.os == 'ubuntu-latest' }}
Expand Down Expand Up @@ -82,9 +82,10 @@ jobs:
- name: 🔨 Build Release
run: cargo build --verbose --release $RUST_TARGET_FLAG

# TODO: https://github.com/cryspen/libcrux/issues/717
- name: 🏃🏻 Asan MacOS
if: ${{ matrix.os == 'macos-latest' }}
run: RUSTDOCFLAGS=-Zsanitizer=address RUSTFLAGS=-Zsanitizer=address cargo +nightly test --release --target aarch64-apple-darwin
run: RUSTDOCFLAGS=-Zsanitizer=address RUSTFLAGS=-Zsanitizer=address cargo +nightly-2024-12-14 test --release --target aarch64-apple-darwin

# - name: ⬆ Upload build
# uses: ./.github/actions/upload_artifacts
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/mlkem.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,14 +85,14 @@ jobs:
- name: 🔨 Build
run: |
rustc --print=cfg
cargo build --verbose $RUST_TARGET_FLAG --features pre-verification
cargo build --verbose $RUST_TARGET_FLAG
- name: 🔨 Build Release
run: cargo build --verbose --release $RUST_TARGET_FLAG --features pre-verification
run: cargo build --verbose --release $RUST_TARGET_FLAG

- name: 🏃🏻 Asan MacOS
if: ${{ matrix.os == 'macos-latest' }}
run: RUSTDOCFLAGS=-Zsanitizer=address RUSTFLAGS=-Zsanitizer=address cargo +nightly test --release --target aarch64-apple-darwin --features pre-verification
run: RUSTDOCFLAGS=-Zsanitizer=address RUSTFLAGS=-Zsanitizer=address cargo +nightly test --release --target aarch64-apple-darwin

# - name: ⬆ Upload build
# uses: ./.github/actions/upload_artifacts
Expand Down Expand Up @@ -135,27 +135,27 @@ jobs:
- name: 🏃🏻‍♀️ Test
run: |
cargo clean
cargo test --verbose $RUST_TARGET_FLAG --features pre-verification
cargo test --verbose $RUST_TARGET_FLAG
- name: 🏃🏻‍♀️ Test Release
run: |
cargo clean
cargo test --verbose --release $RUST_TARGET_FLAG --features pre-verification
cargo test --verbose --release $RUST_TARGET_FLAG
- name: 🏃🏻‍♀️ Test Portable
run: |
cargo clean
LIBCRUX_DISABLE_SIMD128=1 LIBCRUX_DISABLE_SIMD256=1 cargo test --verbose $RUST_TARGET_FLAG --features pre-verification
LIBCRUX_DISABLE_SIMD128=1 LIBCRUX_DISABLE_SIMD256=1 cargo test --verbose $RUST_TARGET_FLAG
- name: 🏃🏻‍♀️ Test Portable Release
run: |
cargo clean
LIBCRUX_DISABLE_SIMD128=1 LIBCRUX_DISABLE_SIMD256=1 cargo test --verbose --release $RUST_TARGET_FLAG --features pre-verification
LIBCRUX_DISABLE_SIMD128=1 LIBCRUX_DISABLE_SIMD256=1 cargo test --verbose --release $RUST_TARGET_FLAG
- name: 🏃🏻‍♀️ Test Kyber
run: |
cargo clean
cargo test --features pre-verification,kyber --verbose $RUST_TARGET_FLAG
cargo test ,kyber --verbose $RUST_TARGET_FLAG
- name: 🏃🏻‍♀️ Cargo Check Features
if: ${{ matrix.bits == 64 }}
Expand Down
Loading

0 comments on commit 8f734b2

Please sign in to comment.