Skip to content

Commit badfb77

Browse files
committed
add no-wasm-simd to nodejs.yml
1 parent 7392d6f commit badfb77

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

.github/workflows/nodejs.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ on:
1313
required: false
1414
type: boolean
1515
default: false
16+
no-wasm-simd:
17+
type: string
18+
required: false
19+
default: ''
1620

1721
permissions:
1822
contents: read
@@ -72,97 +76,111 @@ jobs:
7276
env:
7377
CI: true
7478
NODE_V8_COVERAGE: ${{ inputs.codecov == true && './coverage/tmp' || '' }}
79+
UNDICI_NO_WASM_SIMD: ${{ inputs['no-wasm-simd'] }}
7580

7681
- name: Test node-fetch
7782
run: npm run test:node-fetch
7883
id: test-node-fetch
7984
env:
8085
CI: true
8186
NODE_V8_COVERAGE: ${{ inputs.codecov == true && './coverage/tmp' || '' }}
87+
UNDICI_NO_WASM_SIMD: ${{ inputs['no-wasm-simd'] }}
8288

8389
- name: Test cache
8490
run: npm run test:cache
8591
id: test-cache
8692
env:
8793
CI: true
8894
NODE_V8_COVERAGE: ${{ inputs.codecov == true && './coverage/tmp' || '' }}
95+
UNDICI_NO_WASM_SIMD: ${{ inputs['no-wasm-simd'] }}
8996

9097
- name: Test cache-interceptor
9198
run: npm run test:cache-interceptor
9299
id: test-cache-interceptor
93100
env:
94101
CI: true
95102
NODE_V8_COVERAGE: ${{ inputs.codecov == true && './coverage/tmp' || '' }}
103+
UNDICI_NO_WASM_SIMD: ${{ inputs['no-wasm-simd'] }}
96104

97105
- name: Test interceptors
98106
run: npm run test:interceptors
99107
id: test-interceptors
100108
env:
101109
CI: true
102110
NODE_V8_COVERAGE: ${{ inputs.codecov == true && './coverage/tmp' || '' }}
111+
UNDICI_NO_WASM_SIMD: ${{ inputs['no-wasm-simd'] }}
103112

104113
- name: Test fetch
105114
run: npm run test:fetch
106115
id: test-fetch
107116
env:
108117
CI: true
109118
NODE_V8_COVERAGE: ${{ inputs.codecov == true && './coverage/tmp' || '' }}
119+
UNDICI_NO_WASM_SIMD: ${{ inputs['no-wasm-simd'] }}
110120

111121
- name: Test cookies
112122
run: npm run test:cookies
113123
id: test-cookies
114124
env:
115125
CI: true
116126
NODE_V8_COVERAGE: ${{ inputs.codecov == true && './coverage/tmp' || '' }}
127+
UNDICI_NO_WASM_SIMD: ${{ inputs['no-wasm-simd'] }}
117128

118129
- name: Test eventsource
119130
run: npm run test:eventsource
120131
id: test-eventsource
121132
env:
122133
CI: true
123134
NODE_V8_COVERAGE: ${{ inputs.codecov == true && './coverage/tmp' || '' }}
135+
UNDICI_NO_WASM_SIMD: ${{ inputs['no-wasm-simd'] }}
124136

125137
- name: Test subresource-integrity
126138
run: npm run test:subresource-integrity
127139
id: test-subresource-integrity
128140
env:
129141
CI: true
130142
NODE_V8_COVERAGE: ${{ inputs.codecov == true && './coverage/tmp' || '' }}
143+
UNDICI_NO_WASM_SIMD: ${{ inputs['no-wasm-simd'] }}
131144

132145
- name: Test websocket
133146
run: npm run test:websocket
134147
id: test-websocket
135148
env:
136149
CI: true
137150
NODE_V8_COVERAGE: ${{ inputs.codecov == true && './coverage/tmp' || '' }}
151+
UNDICI_NO_WASM_SIMD: ${{ inputs['no-wasm-simd'] }}
138152

139153
- name: Test node-test
140154
run: npm run test:node-test
141155
id: test-node-test
142156
env:
143157
CI: true
144158
NODE_V8_COVERAGE: ${{ inputs.codecov == true && './coverage/tmp' || '' }}
159+
UNDICI_NO_WASM_SIMD: ${{ inputs['no-wasm-simd'] }}
145160

146161
- name: Test cache-tests
147162
run: npm run test:cache-tests
148163
id: test-cache-tests
149164
env:
150165
CI: true
151166
NODE_V8_COVERAGE: ${{ inputs.codecov == true && './coverage/tmp' || '' }}
167+
UNDICI_NO_WASM_SIMD: ${{ inputs['no-wasm-simd'] }}
152168

153169
- name: Test h2
154170
run: npm run test:h2
155171
id: test-h2
156172
env:
157173
CI: true
158174
NODE_V8_COVERAGE: ${{ inputs.codecov == true && './coverage/tmp' || '' }}
175+
UNDICI_NO_WASM_SIMD: ${{ inputs['no-wasm-simd'] }}
159176

160177
- name: Test jest
161178
run: npm run test:jest
162179
id: test-jest
163180
env:
164181
CI: true
165182
NODE_V8_COVERAGE: ''
183+
UNDICI_NO_WASM_SIMD: ${{ inputs['no-wasm-simd'] }}
166184

167185
- name: Test sqlite
168186
if: inputs.node-version != '20'
@@ -171,13 +189,15 @@ jobs:
171189
env:
172190
CI: true
173191
NODE_V8_COVERAGE: ${{ inputs.codecov == true && './coverage/tmp' || '' }}
192+
UNDICI_NO_WASM_SIMD: ${{ inputs['no-wasm-simd'] }}
174193

175194
- name: Test wpt
176195
run: npm run test:wpt
177196
id: test-wpt
178197
env:
179198
CI: true
180199
NODE_V8_COVERAGE: ${{ inputs.codecov == true && './coverage/tmp' || '' }}
200+
UNDICI_NO_WASM_SIMD: ${{ inputs['no-wasm-simd'] }}
181201

182202
- name: Coverage Report
183203
if: inputs.codecov == true

0 commit comments

Comments
 (0)