Skip to content

Commit dddc485

Browse files
committed
Prepare for 1.0.0 release
1 parent 8f3d6f5 commit dddc485

31 files changed

+2463
-375
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,12 @@ jobs:
5050
steps:
5151
- uses: actions/checkout@v2
5252

53-
- uses: actions/setup-dotnet@v1
53+
- name: Setup dotnet
54+
uses: actions/setup-dotnet@v1
5455
with:
5556
dotnet-version: |
56-
3.1.x
57-
5.0.x
5857
6.0.x
58+
7.0.x
5959
6060
- name: Build
6161
run: ./build.sh
@@ -66,12 +66,12 @@ jobs:
6666
steps:
6767
- uses: actions/checkout@v2
6868

69-
- uses: actions/setup-dotnet@v1
69+
- name: Setup dotnet
70+
uses: actions/setup-dotnet@v1
7071
with:
7172
dotnet-version: |
72-
3.1.x
73-
5.0.x
7473
6.0.x
74+
7.0.x
7575
7676
- name: Build
7777
run: |

.nuke/build.schema.json

Lines changed: 134 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,134 @@
1+
{
2+
"$schema": "http://json-schema.org/draft-04/schema#",
3+
"title": "Build Schema",
4+
"$ref": "#/definitions/build",
5+
"definitions": {
6+
"build": {
7+
"type": "object",
8+
"properties": {
9+
"Configuration": {
10+
"type": "string",
11+
"description": "Configuration to build - Default is 'Debug' (local) or 'Release' (server)",
12+
"enum": [
13+
"Debug",
14+
"Release"
15+
]
16+
},
17+
"Continue": {
18+
"type": "boolean",
19+
"description": "Indicates to continue a previously failed build attempt"
20+
},
21+
"Help": {
22+
"type": "boolean",
23+
"description": "Shows the help text for this build assembly"
24+
},
25+
"Host": {
26+
"type": "string",
27+
"description": "Host for execution. Default is 'automatic'",
28+
"enum": [
29+
"AppVeyor",
30+
"AzurePipelines",
31+
"Bamboo",
32+
"Bitbucket",
33+
"Bitrise",
34+
"GitHubActions",
35+
"GitLab",
36+
"Jenkins",
37+
"Rider",
38+
"SpaceAutomation",
39+
"TeamCity",
40+
"Terminal",
41+
"TravisCI",
42+
"VisualStudio",
43+
"VSCode"
44+
]
45+
},
46+
"NoLogo": {
47+
"type": "boolean",
48+
"description": "Disables displaying the NUKE logo"
49+
},
50+
"Partition": {
51+
"type": "string",
52+
"description": "Partition to use on CI"
53+
},
54+
"Plan": {
55+
"type": "boolean",
56+
"description": "Shows the execution plan (HTML)"
57+
},
58+
"Profile": {
59+
"type": "array",
60+
"description": "Defines the profiles to load",
61+
"items": {
62+
"type": "string"
63+
}
64+
},
65+
"ReleaseNotesFilePath": {
66+
"type": "string",
67+
"description": "ReleaseNotesFilePath - To determine the SemanticVersion"
68+
},
69+
"Root": {
70+
"type": "string",
71+
"description": "Root directory during build execution"
72+
},
73+
"Skip": {
74+
"type": "array",
75+
"description": "List of targets to be skipped. Empty list skips all dependencies",
76+
"items": {
77+
"type": "string",
78+
"enum": [
79+
"Clean",
80+
"Compile",
81+
"CopyFiles",
82+
"CreatePackage",
83+
"Default",
84+
"Package",
85+
"PrePublish",
86+
"Publish",
87+
"PublishPackage",
88+
"PublishPreRelease",
89+
"PublishRelease",
90+
"Restore",
91+
"RunUnitTests"
92+
]
93+
}
94+
},
95+
"Solution": {
96+
"type": "string",
97+
"description": "Path to a solution file that is automatically loaded"
98+
},
99+
"Target": {
100+
"type": "array",
101+
"description": "List of targets to be invoked. Default is '{default_target}'",
102+
"items": {
103+
"type": "string",
104+
"enum": [
105+
"Clean",
106+
"Compile",
107+
"CopyFiles",
108+
"CreatePackage",
109+
"Default",
110+
"Package",
111+
"PrePublish",
112+
"Publish",
113+
"PublishPackage",
114+
"PublishPreRelease",
115+
"PublishRelease",
116+
"Restore",
117+
"RunUnitTests"
118+
]
119+
}
120+
},
121+
"Verbosity": {
122+
"type": "string",
123+
"description": "Logging verbosity during build execution. Default is 'Normal'",
124+
"enum": [
125+
"Minimal",
126+
"Normal",
127+
"Quiet",
128+
"Verbose"
129+
]
130+
}
131+
}
132+
}
133+
}
134+
}

.nuke/parameters.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"$schema": "./build.schema.json",
3+
"Solution": "src/AngleSharp.Xml.sln"
4+
}

.nuke/temp/build-attempt.log

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
f4d1b7ed702c6ceacb69533f62cd3f2b
2+
Restore
3+
Compile
4+
RunUnitTests
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
V | | ArgumentsFromParametersFile.OnBuildCreated (150)
2+
V | | Passing value for Build.Solution (src/AngleSharp.Xml.sln)
3+
V | | InjectParameterValues.OnBuildCreated (100)
4+
V | | HandleShellCompletion.OnBuildCreated (75)
5+
V | | GenerateBuildServerConfigurations.OnBuildCreated (50)
6+
V | | InvokeBuildServerConfigurationGeneration.OnBuildCreated (45)
7+
V | | UpdateNotification.OnBuildCreated (10)
8+
V | | UnsetVisualStudioEnvironmentVariables.OnBuildCreated (0)
9+
V | | HandleVisualStudioDebugging.OnBuildCreated (0)
10+
V | | HandleSingleFileExecution.OnBuildCreated (-50)
11+
V | | EventInvoker.OnBuildCreated (-3.4028235E+38)
12+
V | | HandleHelpRequests.OnBuildInitialized (5)
13+
V | | Telemetry.OnBuildInitialized (0)
14+
V | | InjectNonParameterValues.OnBuildInitialized (-100)
15+
V | | EventInvoker.OnBuildInitialized (-3.4028235E+38)
16+
D | | Reading ChangeLog E:\Code\AngleSharp\AngleSharp.Xml\CHANGELOG.md...
17+
D | | Using LastestVersion from ChangeLog: 1.0.0
18+
I | | Building version: 1.0.0
19+
V | | Target-unrelated exception was thrown
20+
System.ArgumentException: TargetProject could not be loaded!
21+
at Nuke.Common.Assert.NotNull[T](T obj, String message, String argumentExpression) in /_/source/Nuke.Common/Assert.cs:line 61
22+
at Build.OnBuildInitialized() in E:\Code\AngleSharp\AngleSharp.Xml\nuke\Build.cs:line 103
23+
at Nuke.Common.Execution.EventInvoker.OnBuildInitialized(NukeBuild build, IReadOnlyCollection`1 executableTargets, IReadOnlyCollection`1 executionPlan) in /_/source/Nuke.Common/Execution/EventInvoker.cs:line 27
24+
at Nuke.Common.Utilities.Collections.EnumerableExtensions.ForEach[T](IEnumerable`1 enumerable, Action`1 action) in /_/source/Nuke.Common/Utilities/Collections/Enumerable.ForEach.cs:line 17
25+
at Nuke.Common.NukeBuild.ExecuteExtension[TExtension](Expression`1 action)
26+
at Nuke.Common.Execution.BuildManager.Execute[T](Expression`1[] defaultTargetExpressions) in /_/source/Nuke.Common/Execution/BuildManager.cs:line 58
27+
V | | UpdateNotification.OnBuildFinished (10)
28+
V | | SerializeBuildServerState.OnBuildFinished (0)
29+
V | | EventInvoker.OnBuildFinished (-3.4028235E+38)
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
V | | ArgumentsFromParametersFile.OnBuildCreated (150)
2+
V | | Passing value for Build.Solution (src/AngleSharp.Xml.sln)
3+
V | | InjectParameterValues.OnBuildCreated (100)
4+
V | | HandleShellCompletion.OnBuildCreated (75)
5+
V | | GenerateBuildServerConfigurations.OnBuildCreated (50)
6+
V | | InvokeBuildServerConfigurationGeneration.OnBuildCreated (45)
7+
V | | UpdateNotification.OnBuildCreated (10)
8+
V | | UnsetVisualStudioEnvironmentVariables.OnBuildCreated (0)
9+
V | | HandleVisualStudioDebugging.OnBuildCreated (0)
10+
V | | HandleSingleFileExecution.OnBuildCreated (-50)
11+
V | | EventInvoker.OnBuildCreated (-3.4028235E+38)
12+
V | | HandleHelpRequests.OnBuildInitialized (5)
13+
V | | Telemetry.OnBuildInitialized (0)
14+
V | | InjectNonParameterValues.OnBuildInitialized (-100)
15+
V | | EventInvoker.OnBuildInitialized (-3.4028235E+38)
16+
D | | Reading ChangeLog E:\Code\AngleSharp\AngleSharp.Xml\CHANGELOG.md...
17+
D | | Using LastestVersion from ChangeLog: 1.0.0
18+
I | | Building version: 1.0.0
19+
V | | Target-unrelated exception was thrown
20+
System.ArgumentException: TargetProject could not be loaded!
21+
at Nuke.Common.Assert.NotNull[T](T obj, String message, String argumentExpression) in /_/source/Nuke.Common/Assert.cs:line 61
22+
at Build.OnBuildInitialized() in E:\Code\AngleSharp\AngleSharp.Xml\nuke\Build.cs:line 103
23+
at Nuke.Common.Execution.EventInvoker.OnBuildInitialized(NukeBuild build, IReadOnlyCollection`1 executableTargets, IReadOnlyCollection`1 executionPlan) in /_/source/Nuke.Common/Execution/EventInvoker.cs:line 27
24+
at Nuke.Common.Utilities.Collections.EnumerableExtensions.ForEach[T](IEnumerable`1 enumerable, Action`1 action) in /_/source/Nuke.Common/Utilities/Collections/Enumerable.ForEach.cs:line 17
25+
at Nuke.Common.NukeBuild.ExecuteExtension[TExtension](Expression`1 action)
26+
at Nuke.Common.Execution.BuildManager.Execute[T](Expression`1[] defaultTargetExpressions) in /_/source/Nuke.Common/Execution/BuildManager.cs:line 58
27+
V | | UpdateNotification.OnBuildFinished (10)
28+
V | | SerializeBuildServerState.OnBuildFinished (0)
29+
V | | EventInvoker.OnBuildFinished (-3.4028235E+38)

0 commit comments

Comments
 (0)