Skip to content

Commit 538b88d

Browse files
committed
240130
1 parent ad0489c commit 538b88d

File tree

2 files changed

+37
-1
lines changed

2 files changed

+37
-1
lines changed

.github/workflows/build.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ on:
44
push:
55
tags:
66
- "*"
7+
pull_request:
8+
workflow_dispatch:
79

810
jobs:
911
linux:
@@ -117,3 +119,37 @@ jobs:
117119
with:
118120
name: wasm-tools-${{ github.ref_name }}-darwin-${{ matrix.arch }}
119121
path: wasm-tools-${{ github.ref_name }}-darwin-${{ matrix.arch }}.tar.zst
122+
123+
windows:
124+
name: windows-${{ matrix.arch }}
125+
runs-on: windows-latest
126+
strategy:
127+
fail-fast: false
128+
matrix:
129+
arch:
130+
- x86_64
131+
- aarch64
132+
steps:
133+
134+
- name: checkout
135+
uses: actions/checkout@v4
136+
137+
- name: install-deps
138+
run: |
139+
rustup target add ${{ matrix.arch }}-pc-windows-msvc
140+
141+
- name: build
142+
run: |
143+
mkdir wasm-tools-${{ github.ref_name }}-windows-${{ matrix.arch }}
144+
145+
cargo install `
146+
--all-features `
147+
--root wasm-tools-${{ github.ref_name }}-windows-${{ matrix.arch }} `
148+
--target ${{ matrix.arch }}-pc-windows-msvc `
149+
wasm-tools wizer wasmtime-cli
150+
151+
- name: upload-artifact
152+
uses: actions/upload-artifact@v4
153+
with:
154+
name: wasm-tools-${{ github.ref_name }}-windows-${{ matrix.arch }}
155+
path: wasm-tools-${{ github.ref_name }}-windows-${{ matrix.arch }}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
Static builds of `wasm-tools`, `wasmtime-cli`, `wizer` for
44
{x86_64,aarch64}-{linux,darwin}:
55

6-
- `wasm-tools`: `v1.0.56`
6+
- `wasm-tools`: `v1.0.57`
77
- `wasmtime-cli`: `v17.0.0`
88
- `wizer`: `v4.0.0`

0 commit comments

Comments
 (0)