Skip to content

Commit

Permalink
don't enable all features on windows CI (to not use OpenSSL for SHA-256)
Browse files Browse the repository at this point in the history
  • Loading branch information
arvidn committed Jan 9, 2025
1 parent aaa380e commit d20d00d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,12 @@ jobs:
python -m pip install clvm_tools colorama blspy chia-blockchain==2.1.2 clvm==0.9.8
- name: Build (windows)
if: matrix.os.matrix == 'windows'
if: matrix.os.matrix == 'windows-latest'
run: |
maturin develop --release -m wheel/Cargo.toml
- name: Build (non-windows)
if: matrix.os.matrix != 'windows'
if: matrix.os.matrix != 'windows-latest'
run: |
maturin develop --release -m wheel/Cargo.toml --features=openssl
Expand Down
12 changes: 10 additions & 2 deletions .github/workflows/build-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -319,10 +319,18 @@ jobs:
echo "RUSTFLAGS=-Cinstrument-coverage" >> "$GITHUB_ENV"
echo "LLVM_PROFILE_FILE=$(pwd)/target/chia_rs-%p-%m.profraw" >> "$GITHUB_ENV"
echo "CARGO_TARGET_DIR=$(pwd)/target" >> "$GITHUB_ENV"
- name: cargo test
- name: cargo test (not windows)
if: matrix.os != 'windows-latest'
run: cargo test --workspace --all-features
- name: cargo test (release)
- name: cargo test (release) (not windows)
if: matrix.os != 'windows-latest'
run: cargo test --workspace --all-features --release
- name: cargo test (windows)
if: matrix.os == 'windows-latest'
run: cargo test --workspace
- name: cargo test (release) (windows)
if: matrix.os == 'windows-latest'
run: cargo test --workspace --release
- name: Continue with coverage
if: matrix.os == 'ubuntu-latest'
run: |
Expand Down

0 comments on commit d20d00d

Please sign in to comment.