File tree Expand file tree Collapse file tree 3 files changed +8
-12
lines changed
src/SignalR/clients/ts/FunctionalTests Expand file tree Collapse file tree 3 files changed +8
-12
lines changed Original file line number Diff line number Diff line change @@ -31,12 +31,12 @@ variables:
31
31
value : ' '
32
32
33
33
jobs :
34
- # Build Web.JS Linux x64
34
+ # Build Web.JS
35
35
- template : jobs/default-build.yml
36
36
parameters :
37
37
codeSign : true
38
- jobName : WebJS_Linux_x64_build
39
- jobDisplayName : " Build: Web.JS Linux x64 "
38
+ jobName : WebJS_build
39
+ jobDisplayName : " Build: Web.JS"
40
40
agentOs : Linux
41
41
steps :
42
42
- script : ./build.sh
49
49
artifact : WebJS_Javascript
50
50
installJdk : false
51
51
artifacts :
52
- - name : WebJS_Linux_x64_Logs
52
+ - name : WebJS_Logs
53
53
path : artifacts/log/
54
54
publishOnError : true
55
55
Original file line number Diff line number Diff line change 16
16
ResolveProjectReferences;
17
17
_Build;
18
18
</BuildDependsOn >
19
+ <NpmBuildArgs Condition =" '$(NpmBuildArgs)' == ''" >run build</NpmBuildArgs >
19
20
</PropertyGroup >
20
21
21
22
<ItemGroup >
22
23
<TSFiles Include =" $(MSBuildProjectDirectory)\*\*.ts" />
23
24
<TSFiles Include =" $(MSBuildProjectDirectory)\package.json" />
25
+ <TSFiles Include =" $(MSBuildProjectDirectory)\*.npmproj" />
24
26
</ItemGroup >
25
27
26
28
<Target Name =" _CheckForInvalidConfiguration" >
53
55
Condition =" '$(IsBuildable)' != 'false'"
54
56
Inputs =" @(TSFiles)"
55
57
Outputs =" $(BaseIntermediateOutputPath)\build-sentinel" >
56
- <Yarn Command =" run build " StandardOutputImportance =" High" StandardErrorImportance =" High" />
58
+ <Yarn Command =" $(NpmBuildArgs) " StandardOutputImportance =" High" StandardErrorImportance =" High" />
57
59
<WriteLinesToFile Overwrite =" true" File =" $(BaseIntermediateOutputPath)\build-sentinel" />
58
60
</Target >
59
61
Original file line number Diff line number Diff line change 8
8
<_TestSauceArgs>--verbose --no-color --configuration $(Configuration) --sauce-user "$(SauceUser)" --sauce-key "$(SauceKey)"</_TestSauceArgs>
9
9
<_TestSauceArgs Condition="'$(BrowserTestHostName)' != ''">$(_TestSauceArgs) --use-hostname "$(BrowserTestHostName)"</_TestSauceArgs>
10
10
<NpmTestArgs Condition="'$(DailyTests)' != 'true'">run test:inner --no-color --configuration $(Configuration)</NpmTestArgs>
11
+ <NpmBuildArgs>run build:inner</NpmBuildArgs>
11
12
</PropertyGroup>
12
13
13
14
<ItemGroup>
17
18
18
19
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), Directory.Build.targets))\Directory.Build.targets" />
19
20
20
- <Target Name="Build" DependsOnTargets="$(BuildDependsOn)">
21
- <Yarn Command="install --mutex network"
22
- WorkingDirectory="$(RepoRoot)src/SignalR/clients/ts/FunctionalTests" />
23
- <Yarn Command="run build:inner"
24
- WorkingDirectory="$(RepoRoot)src/SignalR/clients/ts/FunctionalTests" />
25
- </Target>
26
-
27
21
<Target Name="Test" Condition="'$(IsTestProject)' == 'true'">
28
22
<Message Importance="High" Text="Running tests for $(MSBuildProjectName)" />
29
23
<Yarn Condition="'$(DailyTests)' != 'true'" Command="$(NpmTestArgs)" />
You can’t perform that action at this time.
0 commit comments