feat: fix WASM build for crates dependent on reth-payload-primitives … #3929
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Windows build | |
name: windows | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
merge_group: | |
jobs: | |
check-reth: | |
runs-on: ubuntu-20.04 | |
timeout-minutes: 60 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: dtolnay/rust-toolchain@stable | |
with: | |
target: x86_64-pc-windows-gnu | |
- uses: taiki-e/install-action@cross | |
- uses: Swatinem/rust-cache@v2 | |
with: | |
cache-on-failure: true | |
- name: mingw-w64 | |
run: sudo apt-get install -y mingw-w64 | |
- name: Check Reth | |
run: cargo check --target x86_64-pc-windows-gnu | |
check-op-reth: | |
runs-on: ubuntu-20.04 | |
timeout-minutes: 60 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: dtolnay/rust-toolchain@stable | |
with: | |
target: x86_64-pc-windows-gnu | |
- uses: taiki-e/install-action@cross | |
- uses: Swatinem/rust-cache@v2 | |
with: | |
cache-on-failure: true | |
- name: mingw-w64 | |
run: sudo apt-get install -y mingw-w64 | |
- name: Check OP-Reth | |
run: cargo check -p op-reth --features optimism --target x86_64-pc-windows-gnu |