Skip to content

Commit 3d34eb6

Browse files
authored
Merge pull request #230 from DecSmith42/feature/aot-tool
Add aot functionality to vNext
2 parents 1b3ae68 + d6d8c7c commit 3d34eb6

File tree

67 files changed

+1288
-343
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+1288
-343
lines changed

.devops/workflows/Test_Devops_Build.yml

Lines changed: 45 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@ jobs:
1616

1717
- task: UseDotNet@2
1818
inputs:
19-
version: '9.0.x'
19+
version: '10.0.x'
2020

21+
includePreviewVersions: 'true'
2122
- script: dotnet run --project _atom/_atom.csproj SetupBuildInfo --skip --headless
2223
name: SetupBuildInfo
2324
env:
@@ -33,8 +34,9 @@ jobs:
3334

3435
- task: UseDotNet@2
3536
inputs:
36-
version: '9.0.x'
37+
version: '10.0.x'
3738

39+
includePreviewVersions: 'true'
3840
- script: dotnet run --project _atom/_atom.csproj PackAtom --skip --headless
3941
name: PackAtom
4042
env:
@@ -57,8 +59,9 @@ jobs:
5759

5860
- task: UseDotNet@2
5961
inputs:
60-
version: '9.0.x'
62+
version: '10.0.x'
6163

64+
includePreviewVersions: 'true'
6265
- script: dotnet run --project _atom/_atom.csproj PackAtomTool --skip --headless
6366
name: PackAtomTool
6467
env:
@@ -81,8 +84,9 @@ jobs:
8184

8285
- task: UseDotNet@2
8386
inputs:
84-
version: '9.0.x'
87+
version: '10.0.x'
8588

89+
includePreviewVersions: 'true'
8690
- script: dotnet run --project _atom/_atom.csproj PackAzureKeyVaultModule --skip --headless
8791
name: PackAzureKeyVaultModule
8892
env:
@@ -105,8 +109,9 @@ jobs:
105109

106110
- task: UseDotNet@2
107111
inputs:
108-
version: '9.0.x'
112+
version: '10.0.x'
109113

114+
includePreviewVersions: 'true'
110115
- script: dotnet run --project _atom/_atom.csproj PackAzureStorageModule --skip --headless
111116
name: PackAzureStorageModule
112117
env:
@@ -129,8 +134,9 @@ jobs:
129134

130135
- task: UseDotNet@2
131136
inputs:
132-
version: '9.0.x'
137+
version: '10.0.x'
133138

139+
includePreviewVersions: 'true'
134140
- script: dotnet run --project _atom/_atom.csproj PackDevopsWorkflowsModule --skip --headless
135141
name: PackDevopsWorkflowsModule
136142
env:
@@ -153,8 +159,9 @@ jobs:
153159

154160
- task: UseDotNet@2
155161
inputs:
156-
version: '9.0.x'
162+
version: '10.0.x'
157163

164+
includePreviewVersions: 'true'
158165
- script: dotnet run --project _atom/_atom.csproj PackDotnetModule --skip --headless
159166
name: PackDotnetModule
160167
env:
@@ -177,8 +184,9 @@ jobs:
177184

178185
- task: UseDotNet@2
179186
inputs:
180-
version: '9.0.x'
187+
version: '10.0.x'
181188

189+
includePreviewVersions: 'true'
182190
- script: dotnet run --project _atom/_atom.csproj PackGithubWorkflowsModule --skip --headless
183191
name: PackGithubWorkflowsModule
184192
env:
@@ -201,8 +209,9 @@ jobs:
201209

202210
- task: UseDotNet@2
203211
inputs:
204-
version: '9.0.x'
212+
version: '10.0.x'
205213

214+
includePreviewVersions: 'true'
206215
- script: dotnet run --project _atom/_atom.csproj PackGitVersionModule --skip --headless
207216
name: PackGitVersionModule
208217
env:
@@ -231,6 +240,15 @@ jobs:
231240
- checkout: self
232241
fetchDepth: 0
233242

243+
- task: UseDotNet@2
244+
inputs:
245+
version: '10.0.x'
246+
247+
includePreviewVersions: 'true'
248+
- task: UseDotNet@2
249+
inputs:
250+
version: '8.0.x'
251+
234252
- task: UseDotNet@2
235253
inputs:
236254
version: '9.0.x'
@@ -262,18 +280,21 @@ jobs:
262280

263281

264282
- job: PushToNuget
265-
dependsOn: [ TestAtom, PackAtom, PackAtomTool, PackAzureKeyVaultModule, PackAzureStorageModule, PackDevopsWorkflowsModule, PackDotnetModule, PackGithubWorkflowsModule, PackGitVersionModule ]
283+
dependsOn: [ TestAtom, PackAtom, PackAtomTool, PackAzureKeyVaultModule, PackAzureStorageModule, PackDevopsWorkflowsModule, PackDotnetModule, PackGithubWorkflowsModule, PackGitVersionModule, SetupBuildInfo ]
266284
pool:
267285
vmImage: ubuntu-latest
286+
variables:
287+
build-id: $[ dependencies.SetupBuildInfo.outputs['SetupBuildInfo.build-id'] ]
268288
steps:
269289

270290
- checkout: self
271291
fetchDepth: 0
272292

273293
- task: UseDotNet@2
274294
inputs:
275-
version: '9.0.x'
295+
version: '10.0.x'
276296

297+
includePreviewVersions: 'true'
277298
- task: DownloadPipelineArtifact@2
278299
displayName: DecSm.Atom
279300
inputs:
@@ -286,6 +307,18 @@ jobs:
286307
artifact: DecSm.Atom.Tool
287308
path: "$(Build.ArtifactStagingDirectory)/DecSm.Atom.Tool"
288309

310+
- task: DownloadPipelineArtifact@2
311+
displayName: DecSm.Atom.Tool
312+
inputs:
313+
artifact: DecSm.Atom.Tool
314+
path: "$(Build.ArtifactStagingDirectory)/DecSm.Atom.Tool"
315+
316+
- task: DownloadPipelineArtifact@2
317+
displayName: DecSm.Atom.Tool
318+
inputs:
319+
artifact: DecSm.Atom.Tool
320+
path: "$(Build.ArtifactStagingDirectory)/DecSm.Atom.Tool"
321+
289322
- task: DownloadPipelineArtifact@2
290323
displayName: DecSm.Atom.Module.AzureKeyVault
291324
inputs:
@@ -325,6 +358,7 @@ jobs:
325358
- script: dotnet run --project _atom/_atom.csproj PushToNuget --skip --headless
326359
name: PushToNuget
327360
env:
361+
build-id: $(build-id)
328362
azure-vault-app-secret: $(AZURE_VAULT_APP_SECRET)
329363
azure-vault-address: $(AZURE_VAULT_ADDRESS)
330364
azure-vault-tenant-id: $(AZURE_VAULT_TENANT_ID)

.devops/workflows/Test_Devops_Validate.yml

Lines changed: 27 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@ jobs:
1616

1717
- task: UseDotNet@2
1818
inputs:
19-
version: '9.0.x'
19+
version: '10.0.x'
2020

21+
includePreviewVersions: 'true'
2122
- script: dotnet run --project _atom/_atom.csproj SetupBuildInfo --skip --headless
2223
name: SetupBuildInfo
2324

@@ -31,8 +32,9 @@ jobs:
3132

3233
- task: UseDotNet@2
3334
inputs:
34-
version: '9.0.x'
35+
version: '10.0.x'
3536

37+
includePreviewVersions: 'true'
3638
- script: dotnet run --project _atom/_atom.csproj PackAtom --skip --headless
3739
name: PackAtom
3840

@@ -46,8 +48,9 @@ jobs:
4648

4749
- task: UseDotNet@2
4850
inputs:
49-
version: '9.0.x'
51+
version: '10.0.x'
5052

53+
includePreviewVersions: 'true'
5154
- script: dotnet run --project _atom/_atom.csproj PackAtomTool --skip --headless
5255
name: PackAtomTool
5356

@@ -61,8 +64,9 @@ jobs:
6164

6265
- task: UseDotNet@2
6366
inputs:
64-
version: '9.0.x'
67+
version: '10.0.x'
6568

69+
includePreviewVersions: 'true'
6670
- script: dotnet run --project _atom/_atom.csproj PackAzureKeyVaultModule --skip --headless
6771
name: PackAzureKeyVaultModule
6872

@@ -76,8 +80,9 @@ jobs:
7680

7781
- task: UseDotNet@2
7882
inputs:
79-
version: '9.0.x'
83+
version: '10.0.x'
8084

85+
includePreviewVersions: 'true'
8186
- script: dotnet run --project _atom/_atom.csproj PackAzureStorageModule --skip --headless
8287
name: PackAzureStorageModule
8388

@@ -91,8 +96,9 @@ jobs:
9196

9297
- task: UseDotNet@2
9398
inputs:
94-
version: '9.0.x'
99+
version: '10.0.x'
95100

101+
includePreviewVersions: 'true'
96102
- script: dotnet run --project _atom/_atom.csproj PackDevopsWorkflowsModule --skip --headless
97103
name: PackDevopsWorkflowsModule
98104

@@ -106,8 +112,9 @@ jobs:
106112

107113
- task: UseDotNet@2
108114
inputs:
109-
version: '9.0.x'
115+
version: '10.0.x'
110116

117+
includePreviewVersions: 'true'
111118
- script: dotnet run --project _atom/_atom.csproj PackDotnetModule --skip --headless
112119
name: PackDotnetModule
113120

@@ -121,8 +128,9 @@ jobs:
121128

122129
- task: UseDotNet@2
123130
inputs:
124-
version: '9.0.x'
131+
version: '10.0.x'
125132

133+
includePreviewVersions: 'true'
126134
- script: dotnet run --project _atom/_atom.csproj PackGithubWorkflowsModule --skip --headless
127135
name: PackGithubWorkflowsModule
128136

@@ -136,8 +144,9 @@ jobs:
136144

137145
- task: UseDotNet@2
138146
inputs:
139-
version: '9.0.x'
147+
version: '10.0.x'
140148

149+
includePreviewVersions: 'true'
141150
- script: dotnet run --project _atom/_atom.csproj PackGitVersionModule --skip --headless
142151
name: PackGitVersionModule
143152

@@ -157,6 +166,15 @@ jobs:
157166
- checkout: self
158167
fetchDepth: 0
159168

169+
- task: UseDotNet@2
170+
inputs:
171+
version: '10.0.x'
172+
173+
includePreviewVersions: 'true'
174+
- task: UseDotNet@2
175+
inputs:
176+
version: '8.0.x'
177+
160178
- task: UseDotNet@2
161179
inputs:
162180
version: '9.0.x'

0 commit comments

Comments
 (0)