Skip to content

Commit 5890eaa

Browse files
committed
build runtime test Interpreter.csproj on CI
1 parent 81b17e6 commit 5890eaa

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

eng/pipelines/runtime.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,10 @@ extends:
113113
nameSuffix: AllSubsets_CoreCLR
114114
buildArgs: -s clr+libs -rc Release -c Release -lc $(_BuildConfig)
115115
timeoutInMinutes: 120
116+
postBuildSteps:
117+
- template: /eng/pipelines/common/templates/runtimes/build-runtime-tests.yml
118+
parameters:
119+
testBuildArgs: wasm browser release test JIT\interpreter\Interpreter.csproj
116120
condition: >-
117121
or(
118122
eq(variables['wasmDarcDependenciesChanged'], true),

src/tests/build.sh

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ build_Tests()
6060
export MSBUILDDEBUGPATH
6161

6262
if [[ "$__SkipNative" != 1 && "$__BuildTestWrappersOnly" != 1 && "$__GenerateLayoutOnly" != 1 && "$__CopyNativeTestBinaries" != 1 && \
63-
"$__TargetOS" != "browser" && "$__TargetOS" != "android" && "$__TargetOS" != "ios" && "$__TargetOS" != "iossimulator" && "$__TargetOS" != "tvos" && "$__TargetOS" != "tvossimulator" ]]; then
63+
"$__TargetOS" != "android" && "$__TargetOS" != "ios" && "$__TargetOS" != "iossimulator" && "$__TargetOS" != "tvos" && "$__TargetOS" != "tvossimulator" ]]; then
6464
build_native "$__TargetOS" "$__TargetArch" "$__TestDir" "$__NativeTestIntermediatesDir" "install" "$__CMakeArgs" "CoreCLR test component"
6565

6666
if [[ "$?" -ne 0 ]]; then
@@ -238,6 +238,20 @@ handle_arguments_local() {
238238
__RebuildTests=1
239239
;;
240240

241+
wasm|-wasm)
242+
__TargetArch=wasm
243+
;;
244+
245+
wasi|-wasi)
246+
__TargetOS=wasi
247+
__TargetArch=wasm
248+
;;
249+
250+
browser|-browser)
251+
__TargetOS=browser
252+
__TargetArch=wasm
253+
;;
254+
241255
test*|-test*)
242256
local arg="$1"
243257
local parts=(${arg//:/ })

0 commit comments

Comments
 (0)