Untitled

 avatar
unknown
plain_text
9 months ago
5.8 kB
2
Indexable
trigger:
  - none

pool:
  vmImage: 'macOS-14'


variables:
- name :  xcWorkspacePath
  value:  iOS/Tnl-Widgets/Core/Core.xcodeproj
- name : scheme
  value: Core
- name :  xcWorkspacePathHydration
  value:  iOS/Tnl-Widgets/Hydration/Hydration.xcodeproj
- name : schemeHydration
  value: Hydration
- name :  xcWorkspacePathLogin
  value:  iOS/Tnl-Widgets/Login/Login.xcodeproj
- name : schemeLogin
  value: Login
- name :  xcWorkspacePathLeak
  value:  iOS/Tnl-Widgets/Leak/Leak.xcodeproj
- name : schemeLeak
  value: Leak
- name :  xcWorkspacePathVoid
  value:  iOS/Tnl-Widgets/Void/Void.xcodeproj
- name : schemeVoid
  value: Void
- name : frameworkHydration
  value : build/Core.framework
- name : frameworkLogin
  value : build/Core.framework
- name : frameworkLeak
  value : build/Core.framework
- name : frameworkvoid
  value : build/Core.framework
- name : contents
  value: "**/*"
- name  : LeakPath
  value : "/Users/runner/Library/Developer/Xcode/DerivedData/Leak-cybcixnsssxzojhlhpedkdjipoqz/Build/Products/Release-iphoneos/Leak.framework"
- name  : HydrationPath
  value : "/Users/runner/Library/Developer/Xcode/DerivedData/Hydration-btuettgouwdjvgcqxpnyhmswiyvh/Build/Products/Release-iphoneos/Hydration.framework"
- name  : CorePath
  value : "/Users/runner/Library/Developer/Xcode/DerivedData/Core-amprgfzukylocsgosacfkpffmvbf/Build/Products/Release-iphoneos/Core.framework" 
- name  : LoginPath
  value : "/Users/runner/Library/Developer/Xcode/DerivedData/Login-aijbewthitcagthgjoqfvbfgoahq/Build/Products/Release-iphoneos/Login.framework"
- name  : VoidPath
  value : "/Users/runner/Library/Developer/Xcode/DerivedData/Void-hizqzrjfkffztddlfbspurgbxppw/Build/Products/Release-iphoneos/Void.framework"
resources:
  repositories:
  - repository: templates
    type: git
    name: Genesis/ADO_Onboard
    ref: refs/heads/genesis-dev-v1
  
  




steps:   
- task: PowerShell@2
  inputs:
    targetType: 'inline'
    script: |
      echo Mac OS version:
      
               sw_vers -productVersion
      
               echo Installed Xcode versions:
      
               ls /Applications | grep 'Xcode'
      
               echo currently selected xcode:
      
               xcrun xcode-select --print-path
      
               echo selecting latest xcode...
      
               sudo xcode-select -s /Applications/Xcode_15.4.app
      
               xcrun xcode-select --print-path
- checkout: self
- template: Templates/install/Install_gitversion.yml@templates

    
- checkout: templates
- template: Templates/semanticversioning/gitexecute.yml@templates
  parameters:
    path: 'iOS'
- script: |
     echo current version is :::: $(GitVersion.SemVer)
     echo current version is $(GitVersion.FullSemVer)

- template: Templates/franklin/franklin_ios_main_pipeline/ios_modules/removeframework.yml@templates
- template: Templates/franklin/franklin_ios_main_pipeline/ios_modules/build.yml@templates
  parameters:
    xcWorkspacePath: $(xcWorkspacePath)
    scheme: $(scheme)

- template: Templates/franklin/franklin_ios_main_pipeline/ios_modules/copymodules.yml@templates
  parameters:
    SourcePath: $(CorePath)
    TargetPath: "build/" 
- template: Templates/franklin/franklin_ios_main_pipeline/ios_modules/copyframework.yml@templates
  parameters:
    SourcePath: $(frameworkHydration)
    TargetPath: "iOS/Tnl-Widgets/Hydration/Module/"
- template: Templates/franklin/franklin_ios_main_pipeline/ios_modules/build.yml@templates
  parameters:
    xcWorkspacePath: $(xcWorkspacePathHydration)
    scheme: $(schemeHydration)
- template: Templates/franklin/franklin_ios_main_pipeline/ios_modules/copymodules.yml@templates
  parameters:
    SourcePath: $(HydrationPath)
    TargetPath: "build/"
- template: Templates/franklin/franklin_ios_main_pipeline/ios_modules/copyframework.yml@templates
  parameters:
    SourcePath: $(frameworkLogin)
    TargetPath: "iOS/Tnl-Widgets/Login/Module/"
- template: Templates/franklin/franklin_ios_main_pipeline/ios_modules/build.yml@templates
  parameters:
    xcWorkspacePath: $(xcWorkspacePathLogin)
    scheme: $(schemeLogin)
- template: Templates/franklin/franklin_ios_main_pipeline/ios_modules/copymodules.yml@templates
  parameters:
    SourcePath: $(LoginPath)
    TargetPath: "build/"
- template: Templates/franklin/franklin_ios_main_pipeline/ios_modules/copyframework.yml@templates
  parameters:
    SourcePath: $(frameworkLeak)
    TargetPath: "iOS/Tnl-Widgets/Leak/Module/"

- template: Templates/franklin/franklin_ios_main_pipeline/ios_modules/build.yml@templates
  parameters:
    xcWorkspacePath: $(xcWorkspacePathLeak)
    scheme: $(schemeLeak)
- template: Templates/franklin/franklin_ios_main_pipeline/ios_modules/copymodules.yml@templates
  parameters:
    SourcePath: $(LeakPath)
    TargetPath: "build/"
    
    

- template: Templates/franklin/franklin_ios_main_pipeline/ios_modules/copyframework.yml@templates
  parameters:
    SourcePath: $(frameworkVoid)
    TargetPath: "iOS/Tnl-Widgets/Void/Module/"
- template: Templates/franklin/franklin_ios_main_pipeline/ios_modules/build.yml@templates
  parameters:
    xcWorkspacePath: $(xcWorkspacePathVoid)
    scheme: $(schemeVoid)
- template: Templates/franklin/franklin_ios_main_pipeline/ios_modules/copymodules.yml@templates
  parameters:
    SourcePath: $(VoidPath)
    TargetPath: "build/"
- template: Templates/franklin/franklin_ios_main_pipeline/ios_modules/copy.yml@templates
  parameters:
    contents: '$(content)'
    
- template: Templates/publish_reports/publish_artifacts.yml@templates
  parameters:
    directory: ' '
    artifact_name: 'framework_modules'
Editor is loading...
Leave a Comment