forked from unoplatform/Uno.Wasm.Bootstrap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.vsts-ci.yml
70 lines (57 loc) · 1.75 KB
/
.vsts-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
jobs:
- job: Windows
pool:
vmImage: 'windows-2019'
variables:
NUGET_PACKAGES: $(Agent.WorkFolder)\.nuget
steps:
- checkout: self
clean: true
- task: NuGetToolInstaller@0
inputs:
versionSpec: 4.9.1
checkLatest: false
- task: GitVersion@5
inputs:
useConfigFile: true
configFilePath: gitversion.yml
updateAssemblyInfo: false
- powershell: |
$ErrorActionPreference = 'SilentlyContinue'
cd $(build.sourcesdirectory)/src/WasmAot.UITests
npm install
cd $(build.sourcesdirectory)/src/Uno.Wasm.StaticLinking.Aot.UITests
npm install
cd $(build.sourcesdirectory)/src/Uno.Wasm.Node.Sample.Runner
npm install
cd $(build.sourcesdirectory)/src/Uno.Wasm.Threading.UITests
npm install
displayName: UI Tests npm dependencies
- powershell: .\build\build.ps1 -script build\build.cake
displayName: Build
- powershell: |
cd $(build.sourcesdirectory)/src/Uno.Wasm.Node.Sample.Runner
.\Validate.ps1
- task: CopyFiles@2
inputs:
SourceFolder: $(build.sourcesdirectory)
Contents: ' $(build.sourcesdirectory)\build\nuget\*.nupkg'
TargetFolder: $(build.artifactstagingdirectory)
CleanTargetFolder: false
OverWrite: false
flattenFolders: false
- task: PublishBuildArtifacts@1
inputs:
PathtoPublish: $(build.artifactstagingdirectory)
ArtifactName: uno-wasm-bootstrap-drop
ArtifactType: Container
- template: .vsts-ci-linux.yml
parameters:
jobName: Linux_netcore3_1
netcore_version: 3.1.201
linux_container: unoplatform/wasm-build:2.3
- template: .vsts-ci-macos.yml
parameters:
jobName: macOS_netcore3_1
vmImage: macOS-10.15
netcore_version: 3.1.201