Skip to content

Commit e1b256f

Browse files
fix(ci): build splicer on windows
Signed-off-by: Victor Adossi <vadossi@cosmonic.com>
1 parent 6369b56 commit e1b256f

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

.github/workflows/main.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,12 @@ jobs:
3333
#########
3434

3535
build-splicer:
36-
runs-on: ubuntu-latest
36+
runs-on: ${{ matrix.os }}
37+
strategy:
38+
matrix:
39+
os:
40+
- windows-latest
41+
- ubuntu-latest
3742
steps:
3843
- uses: actions/checkout@v4
3944

@@ -67,7 +72,7 @@ jobs:
6772
run: make lib/spidermonkey-embedding-splicer.js
6873

6974
build:
70-
runs-on: ubuntu-latest
75+
runs-on: ${{ matrix.os }}
7176
needs:
7277
- build-splicer
7378
strategy:
@@ -77,6 +82,9 @@ jobs:
7782
- 'release'
7883
- 'debug'
7984
- 'weval'
85+
os:
86+
- windows-latest
87+
- ubuntu-latest
8088
steps:
8189
- uses: actions/checkout@v4
8290
with:

test/cases/http-server/test.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ export async function test(instance) {
1414

1515
try {
1616
const resp = await fetch(`http://localhost:${port}`);
17+
console.log("resp:", resp);
1718
const text = await resp.text();
1819
strictEqual(text, 'Hello world!');
1920
} finally {

0 commit comments

Comments
 (0)