Skip to content

Commit 3896cf5

Browse files
committed
Add test-windows CI job
1 parent 816b649 commit 3896cf5

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.circleci/config.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
version: 2.1
22

3+
orbs:
4+
win: circleci/[email protected]
5+
36
jobs:
47
# All checks on the codebase that can run in parallel to build_shared_library
58
libwasmvm_sanity:
@@ -179,6 +182,22 @@ jobs:
179182
command: make test-safety
180183
- run: make build-go
181184

185+
# Note: this is pretty limited right now because it only tests the checked-in
186+
# wasmvm.dll without rebuilding it.
187+
test-windows:
188+
executor:
189+
name: win/default
190+
shell: powershell.exe
191+
steps:
192+
- checkout
193+
- run: systeminfo
194+
- run:
195+
name: Install mingw
196+
command: choco install mingw
197+
- run:
198+
name: Run go tests using wasmvm.dll
199+
command: go test -v ./api ./types .
200+
182201
test_alpine_build:
183202
machine:
184203
image: ubuntu-2004:202101-01
@@ -282,6 +301,7 @@ workflows:
282301
- tidy-go
283302
- format-scripts
284303
- lint-scripts
304+
- test-windows
285305
- build_shared_library:
286306
filters: # required since other jobs with tag filters require this one
287307
tags:

0 commit comments

Comments
 (0)