@@ -7,59 +7,59 @@ parameters:
7
7
- Square
8
8
9
9
steps :
10
- # - pwsh: |
11
- # dotnet cake build.cake `
12
- # --target=ci-build `
13
- # --configuration="$(configuration)" `
14
- # --verbosity="$(verbosity)"
15
- # displayName: 'Build packages'
16
- # env:
17
- # JavaSdkDirectory: $(JAVA_HOME)
18
- # RepositoryCommit: $(Build.SourceVersion)
19
- # RepositoryBranch: $(Build.SourceBranchName)
20
- # RepositoryUrl: $(Build.Repository.Uri)
21
- # RepositoryType: "git"
22
- #
23
- # - pwsh: |
24
- # dotnet cake validation.cake `
25
- # --namespaces="${{ join(',', parameters.validPackagePrefixes) }}" `
26
- # --verbosity="$(verbosity)"
27
- # displayName: 'Run NuGet package validation'
28
- #
29
- # - pwsh: |
30
- # dotnet cake nuget-diff.cake `
31
- # --artifacts="${{ parameters.artifactsPath }}" `
32
- # --output="${{ parameters.artifactsPath }}/api-diff" `
33
- # --cache="$(Agent.TempDirectory)/api-diff" `
34
- # --verbosity="$(verbosity)"
35
- # displayName: 'Generate API diff'
36
- #
37
- # - pwsh: dotnet cake utilities.cake -t=verify-namespace-file
38
- # displayName: Verify published namespaces
39
- #
40
- # - pwsh: |
41
- # dotnet cake build.cake `
42
- # --target=ci-samples `
43
- # --configuration="$(configuration)" `
44
- # --verbosity="$(verbosity)"
45
- # displayName: 'Build samples'
46
- # condition: ne(variables['skipSamplesTests'], 'true')
47
- # env:
48
- # JavaSdkDirectory: $(JAVA_HOME)
49
- # RepositoryCommit: $(Build.SourceVersion)
50
- # RepositoryBranch: $(Build.SourceBranchName)
51
- # RepositoryUrl: $(Build.Repository.Uri)
52
- # RepositoryType: "git"
53
- #
54
- # - task: DotNetCoreCLI@2
55
- # displayName: Run unit tests
56
- # condition: ne(variables['skipUnitTests'], 'true')
57
- # inputs:
58
- # command: test
59
- # projects: util/**/*.Tests.csproj
60
- # arguments: '-c $(configuration)'
10
+ - pwsh : |
11
+ dotnet cake build.cake `
12
+ --target=ci-build `
13
+ --configuration="$(configuration)" `
14
+ --verbosity="$(verbosity)"
15
+ displayName: 'Build packages'
16
+ env:
17
+ JavaSdkDirectory: $(JAVA_HOME)
18
+ RepositoryCommit: $(Build.SourceVersion)
19
+ RepositoryBranch: $(Build.SourceBranchName)
20
+ RepositoryUrl: $(Build.Repository.Uri)
21
+ RepositoryType: "git"
22
+
23
+ - pwsh : |
24
+ dotnet cake validation.cake `
25
+ --namespaces="${{ join(',', parameters.validPackagePrefixes) }}" `
26
+ --verbosity="$(verbosity)"
27
+ displayName: 'Run NuGet package validation'
28
+
29
+ - pwsh : |
30
+ dotnet cake nuget-diff.cake `
31
+ --artifacts="${{ parameters.artifactsPath }}" `
32
+ --output="${{ parameters.artifactsPath }}/api-diff" `
33
+ --cache="$(Agent.TempDirectory)/api-diff" `
34
+ --verbosity="$(verbosity)"
35
+ displayName: 'Generate API diff'
36
+
37
+ - pwsh : dotnet cake utilities.cake -t=verify-namespace-file
38
+ displayName : Verify published namespaces
61
39
62
40
- pwsh : |
63
41
dotnet cake build.cake `
64
- --target=build-android-libraries-net10-net8
65
- displayName: 'Build build-android-libraries-net10-net8'
42
+ --target=ci-samples `
43
+ --configuration="$(configuration)" `
44
+ --verbosity="$(verbosity)"
45
+ displayName: 'Build samples'
46
+ condition: ne(variables['skipSamplesTests'], 'true')
47
+ env:
48
+ JavaSdkDirectory: $(JAVA_HOME)
49
+ RepositoryCommit: $(Build.SourceVersion)
50
+ RepositoryBranch: $(Build.SourceBranchName)
51
+ RepositoryUrl: $(Build.Repository.Uri)
52
+ RepositoryType: "git"
53
+
54
+ - task : DotNetCoreCLI@2
55
+ displayName : Run unit tests
56
+ condition : ne(variables['skipUnitTests'], 'true')
57
+ inputs :
58
+ command : test
59
+ projects : util/**/*.Tests.csproj
60
+ arguments : ' -c $(configuration)'
61
+
62
+ # - pwsh: |
63
+ # dotnet cake build.cake `
64
+ # --target=build-android-libraries-net10-net8
65
+ # displayName: 'Build build-android-libraries-net10-net8'
0 commit comments