Skip to content

Commit 29b4ba0

Browse files
committed
Revert "Restore CI, to be able to release latest packages (#1176)"
This reverts commit 2baffee.
1 parent 6e94811 commit 29b4ba0

File tree

2 files changed

+51
-57
lines changed

2 files changed

+51
-57
lines changed

build/ci/build-and-test.yml

Lines changed: 50 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -7,59 +7,59 @@ parameters:
77
- Square
88

99
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"
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"
2222
23-
# - pwsh: |
24-
# dotnet cake validation.cake `
25-
# --namespaces="${{ join(',', parameters.validPackagePrefixes) }}" `
26-
# --verbosity="$(verbosity)"
27-
# displayName: 'Run NuGet package validation'
23+
- pwsh: |
24+
dotnet cake validation.cake `
25+
--namespaces="${{ join(',', parameters.validPackagePrefixes) }}" `
26+
--verbosity="$(verbosity)"
27+
displayName: 'Run NuGet package validation'
2828
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
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'
3936
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)'
37+
- pwsh: dotnet cake utilities.cake -t=verify-namespace-file
38+
displayName: Verify published namespaces
6139

6240
- pwsh: |
6341
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'

global.json

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
11
{
2-
"sdk":
3-
{
4-
"version": "8.0.408",
5-
"rollForward": "patch"
6-
},
7-
"msbuild-sdks":
8-
{
2+
"msbuild-sdks": {
93
"MSBuild.Sdk.Extras": "3.0.44",
104
"Microsoft.Build.Traversal": "4.1.82",
115
"Microsoft.Build.NoTargets": "3.7.56",

0 commit comments

Comments
 (0)