mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 02:49:55 +00:00
50 lines
1.2 KiB
YAML
50 lines
1.2 KiB
YAML
# 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: rui314/setup-mold@v1
|
|
- 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: rui314/setup-mold@v1
|
|
- 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 --target x86_64-pc-windows-gnu
|