Skip to content

Commit

Permalink
Move to shine-oss Azure DevOps project (#9929)
Browse files Browse the repository at this point in the history
  • Loading branch information
kmahone authored and Keith Mahoney committed Sep 10, 2024
1 parent 8a3ec85 commit 38415f6
Show file tree
Hide file tree
Showing 12 changed files with 26 additions and 30 deletions.
5 changes: 5 additions & 0 deletions build/AzurePipelinesTemplates/MUX-BuildProject-Steps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ steps:
inputs:
filename: 'set'

- powershell: |
Get-Volume
displayName: 'Display disk space'
continueOnError: true
- task: 333b11bd-d341-40d9-afcf-b32d5ce6f23b@2
displayName: 'NuGet restore ${{ parameters.solutionPath }}'
inputs:
Expand Down
14 changes: 2 additions & 12 deletions build/AzurePipelinesTemplates/MUX-CreateNugetPackage-Job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ parameters:
jobs:
- job: ${{ parameters.jobName }}
pool:
${{ if eq(variables['System.CollectionUri'], 'https://dev.azure.com/ms/') }}:
${{ if eq(variables['System.CollectionUri'], 'https://dev.azure.com/shine-oss/') }}:
name: WinDevPoolOSS-S
${{ if ne(variables['System.CollectionUri'], 'https://dev.azure.com/ms/') }}:
${{ if ne(variables['System.CollectionUri'], 'https://dev.azure.com/shine-oss/') }}:
name: WinDevPool-S

steps:
Expand Down Expand Up @@ -93,13 +93,3 @@ jobs:
inputs:
PathtoPublish: '${{ parameters.nupkgdir }}'
artifactName: 'drop'

# To publish the package to vsts feed, set queue time variable NuGetFeed = d62f8eac-f05c-4c25-bccb-21f98b95c95f
# This is the magic GUID from the pipeline visual designer for this feed: https://dev.azure.com/ms/microsoft-ui-xaml/_packaging?_a=feed&feed=MUX-CI
- task: 333b11bd-d341-40d9-afcf-b32d5ce6f23b@2
condition: and(ne(variables['NuGetFeed'], ''), ne(variables['Build.Reason'], 'Manual'))
displayName: 'NuGet push to $(NuGetFeed)'
inputs:
command: push
publishVstsFeed: $(NuGetFeed)
packagesToPush: $(Build.ArtifactStagingDirectory)/*.nupkg
4 changes: 2 additions & 2 deletions build/AzurePipelinesTemplates/MUX-NugetReleaseTest-Job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ jobs:
- ${{ parameters.dependsOn }}

pool:
${{ if eq(variables['System.CollectionUri'], 'https://dev.azure.com/ms/') }}:
${{ if eq(variables['System.CollectionUri'], 'https://dev.azure.com/shine-oss/') }}:
name: WinDevPoolOSS-S
${{ if ne(variables['System.CollectionUri'], 'https://dev.azure.com/ms/') }}:
${{ if ne(variables['System.CollectionUri'], 'https://dev.azure.com/shine-oss/') }}:
name: WinDevPool-S
demands: ImageOverride -equals WinDevVS16-9
strategy:
Expand Down
4 changes: 2 additions & 2 deletions build/AzurePipelinesTemplates/MUX-RunHelixTests-Job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ jobs:
dependsOn: ${{ parameters.dependsOn }}
condition: ${{ parameters.condition }}
pool:
${{ if eq(variables['System.CollectionUri'], 'https://dev.azure.com/ms/') }}:
${{ if eq(variables['System.CollectionUri'], 'https://dev.azure.com/shine-oss/') }}:
name: WinDevPoolOSS-S
${{ if ne(variables['System.CollectionUri'], 'https://dev.azure.com/ms/') }}:
${{ if ne(variables['System.CollectionUri'], 'https://dev.azure.com/shine-oss/') }}:
name: WinDevPool-S
timeoutInMinutes: 120
strategy:
Expand Down
4 changes: 2 additions & 2 deletions build/AzurePipelinesTemplates/MUX-RunTestsOnPipeline-Job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ jobs:
dependsOn: ${{ parameters.dependsOn }}
condition: not(failed())
pool:
${{ if eq(variables['System.CollectionUri'], 'https://dev.azure.com/ms/') }}:
${{ if eq(variables['System.CollectionUri'], 'https://dev.azure.com/shine-oss/') }}:
name: WinDevPoolOSS-Test
${{ if ne(variables['System.CollectionUri'], 'https://dev.azure.com/ms/') }}:
${{ if ne(variables['System.CollectionUri'], 'https://dev.azure.com/shine-oss/') }}:
name: WinDevPool-Test
demands: ImageOverride -equals ${{ parameters.testOS }}

Expand Down
4 changes: 2 additions & 2 deletions build/AzurePipelinesTemplates/MUX-WACKTests-Job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ jobs:
- job: ${{ parameters.name }}
dependsOn: ${{ parameters.dependsOn }}
pool:
${{ if eq(variables['System.CollectionUri'], 'https://dev.azure.com/ms/') }}:
${{ if eq(variables['System.CollectionUri'], 'https://dev.azure.com/shine-oss/') }}:
name: WinDevPoolOSS-S
${{ if ne(variables['System.CollectionUri'], 'https://dev.azure.com/ms/') }}:
${{ if ne(variables['System.CollectionUri'], 'https://dev.azure.com/shine-oss/') }}:
name: WinDevPool-S
strategy:
maxParallel: 10
Expand Down
4 changes: 2 additions & 2 deletions build/MUX-CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ stages:
jobs:
- job: Build
pool:
${{ if eq(variables['System.CollectionUri'], 'https://dev.azure.com/ms/') }}:
${{ if eq(variables['System.CollectionUri'], 'https://dev.azure.com/shine-oss/') }}:
name: WinDevPoolOSS-L
${{ if ne(variables['System.CollectionUri'], 'https://dev.azure.com/ms/') }}:
${{ if ne(variables['System.CollectionUri'], 'https://dev.azure.com/shine-oss/') }}:
name: WinDevPool-L
demands: ImageOverride -equals WinDevVS17-latest
timeoutInMinutes: 120
Expand Down
7 changes: 4 additions & 3 deletions build/MUX-PR.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,12 @@ stages:
- job: Build
condition: eq(variables['useBuildOutputFromBuildId'],'')
pool:
${{ if eq(variables['System.CollectionUri'], 'https://dev.azure.com/ms/') }}:
${{ if eq(variables['System.CollectionUri'], 'https://dev.azure.com/shine-oss/') }}:
name: WinDevPoolOSS-L
${{ if ne(variables['System.CollectionUri'], 'https://dev.azure.com/ms/') }}:
${{ if ne(variables['System.CollectionUri'], 'https://dev.azure.com/shine-oss/') }}:
name: WinDevPool-L
demands: ImageOverride -equals WinDevVS17-latest
demands:
- ImageOverride -equals WinDevVS17-latest
timeoutInMinutes: 120
strategy:
maxParallel: 10
Expand Down
4 changes: 2 additions & 2 deletions build/MUX-SimpleBuildAndTest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ jobs:
condition:
eq(variables['useBuildOutputFromBuildId'],'')
pool:
${{ if eq(variables['System.CollectionUri'], 'https://dev.azure.com/ms/') }}:
${{ if eq(variables['System.CollectionUri'], 'https://dev.azure.com/shine-oss/') }}:
name: WinDevPoolOSS-L
${{ if ne(variables['System.CollectionUri'], 'https://dev.azure.com/ms/') }}:
${{ if ne(variables['System.CollectionUri'], 'https://dev.azure.com/shine-oss/') }}:
name: WinDevPool-L
demands: ImageOverride -equals WinDevVS17-latest
timeoutInMinutes: 120
Expand Down
2 changes: 1 addition & 1 deletion dev/Collections/HashMap.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ template <typename K, typename V>
class HashMap :
public ReferenceTracker<
HashMap<K, V>,
reference_tracker_implements_t<winrt::IMap<K, V>>::type,
typename reference_tracker_implements_t<winrt::IMap<K, V>>::type,
winrt::IMapView<K, V>,
winrt::IIterable<winrt::IKeyValuePair<K, V>>>
{
Expand Down
2 changes: 1 addition & 1 deletion dev/Collections/Vector.h
Original file line number Diff line number Diff line change
Expand Up @@ -574,7 +574,7 @@ template <typename T, bool isObservable, bool isBindable, bool isDependencyObjec
class VectorBase :
public ReferenceTracker<
VectorBase<T, isObservable, isBindable, isDependencyObjectBase, isNoTrackerRef, Options>,
reference_tracker_implements_t<typename Options::VectorType>::type,
typename reference_tracker_implements_t<typename Options::VectorType>::type,
typename Options::IterableType,
std::conditional_t<isObservable, typename Options::ObservableVectorType, void>>,
public Options::IVectorOwner
Expand Down
2 changes: 1 addition & 1 deletion dev/Collections/VectorIterator.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ template <typename T, bool isBindable = false, bool isDependencyObjectBase = tru
class VectorIterator :
public ReferenceTracker<
VectorIterator<T, isBindable, isDependencyObjectBase, Traits>,
reference_tracker_implements_t<typename Traits::IteratorType>::type>
typename reference_tracker_implements_t<typename Traits::IteratorType>::type>
{
public:
VectorIterator(typename Traits::VectorType const& vector)
Expand Down

0 comments on commit 38415f6

Please sign in to comment.