-
Notifications
You must be signed in to change notification settings - Fork 204
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Native AOT smoke test #82
Changes from 17 commits
5bcbc4b
4ead94c
9c1d255
0276669
50cb002
8b6fd62
ead11fc
c9f9109
6cec9ba
64775ee
a93001e
6eaef11
71338af
4b7a62d
44b8b4d
b640780
a236229
806b379
34ec632
2d2c084
d0c3ca8
f79f81c
0e28c08
ae0cd8d
7b27d04
da4fc0b
4740d5f
aa7c9a1
8fbc531
582faad
4ce9680
790737a
7c9238e
27578b7
4de5b88
33c4c6e
77a2599
e7646b4
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,53 +7,8 @@ parameters: | |
|
||
steps: | ||
# Build coreclr native test output | ||
- script: $(Build.SourcesDirectory)/src/coreclr/build-test$(scriptExt) skipstressdependencies skipmanaged skipgeneratelayout $(buildConfigUpper) ${{ parameters.archType }} | ||
displayName: Build native test components | ||
- script: $(Build.SourcesDirectory)/src/coreclr/build-test$(scriptExt) skipstressdependencies $(buildConfigUpper) ${{ parameters.archType }} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This will have conflict with #86. These scripts were just moved around dotnet/runtime. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thanks for the heads up! Yeah, conflicts in infra/build seem inevitable - they churn a lot. |
||
displayName: Build tests | ||
|
||
# Copy all build output into artifacts staging directory | ||
- template: /eng/pipelines/libraries/prepare-for-bin-publish.yml | ||
|
||
# Zip CoreCLR Build Output | ||
- template: /eng/pipelines/common/upload-artifact-step.yml | ||
parameters: | ||
rootFolder: $(Build.SourcesDirectory)/artifacts/bin/coreclr/${{ parameters.osGroup }}.${{ parameters.archType }}.$(buildConfigUpper) | ||
archiveType: $(archiveType) | ||
tarCompression: $(tarCompression) | ||
includeRootFolder: false | ||
archiveExtension: $(archiveExtension) | ||
artifactName: CoreCLRProduct__${{ parameters.osGroup }}${{ parameters.osSubgroup }}_${{ parameters.archType }}_${{ parameters.buildConfig }} | ||
displayName: 'CoreCLR product build' | ||
|
||
# Zip Test Build | ||
- ${{ if eq(parameters.uploadTests, true) }}: | ||
- template: /eng/pipelines/common/upload-artifact-step.yml | ||
parameters: | ||
rootFolder: $(Build.SourcesDirectory)/artifacts/helix | ||
includeRootFolder: true | ||
archiveType: $(archiveType) | ||
archiveExtension: $(archiveExtension) | ||
tarCompression: $(tarCompression) | ||
artifactName: libraries_test_assets_${{ parameters.osGroup }}_${{ parameters.archType }}_${{ parameters.buildConfig }} | ||
displayName: Test Assets | ||
|
||
# Zip product native assets for use by Tests | ||
- template: /eng/pipelines/common/upload-artifact-step.yml | ||
parameters: | ||
rootFolder: $(Build.SourcesDirectory)/artifacts/tests/coreclr/obj/${{ parameters.osGroup }}.${{ parameters.archType }}.$(buildConfigUpper) | ||
includeRootFolder: false | ||
archiveType: $(archiveType) | ||
tarCompression: $(tarCompression) | ||
archiveExtension: $(archiveExtension) | ||
artifactName: CoreCLRNativeTestArtifacts_${{ parameters.osGroup }}${{ parameters.osSubgroup }}_${{ parameters.archType }}_${{ parameters.buildConfig }} | ||
displayName: 'native test components' | ||
|
||
# Zip Libraries Build Output | ||
- template: /eng/pipelines/common/upload-artifact-step.yml | ||
parameters: | ||
rootFolder: $(Build.ArtifactStagingDirectory)/artifacts | ||
archiveType: $(archiveType) | ||
tarCompression: $(tarCompression) | ||
includeRootFolder: false | ||
archiveExtension: $(archiveExtension) | ||
artifactName: libraries_bin_${{ parameters.osGroup }}${{ parameters.osSubgroup }}_${{ parameters.archType }}_${{ parameters.buildConfig }} | ||
displayName: Build Assets | ||
- script: $(Build.SourcesDirectory)/src/coreclr/tests/runtest$(scriptExt) runnativeaottests $(buildConfigUpper) ${{ parameters.archType }} | ||
displayName: Run tests |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@joperezr The CI infrastructure in the NativeAOT branch is going to be a bit different from how CI is done in the runtime repo (we can't do AOT compilation on the Helix machines because they miss some big prerequisites, so we'll do the testing on the build machine - this should be similar how the current plan for iOS testing in the runtime repo will be).
Do you think it makes sense to try to share the runtimelab.yml file, or just make a new one to avoid constant merge conflicts?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It’s ok to have another yml file if desired, but that will mean that we have to setup a whole new pipeline on AzDO for this branch so just keep thag in mind, since AzDO pipelines are tied to only one yml file. On the other hand, if you do decide to change runtimelab.yml to suit your needs, we could just ignore conflicts from that file and keep branch’s version always.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FWIW, you shouldn’t expect to get many conflicts as the idea is to have runtimelab.yml as stable as possible, which in fact was the whole reason we created that as opposed to using runtime.yml which gets changed much more frequently.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! I didn't know that extra yaml file would be work - I'll just keep this and we'll ignore conflicts in the future integrations.