Update for visionOS
e5f4e1de
Levin Li
committed
succeeded
16 changed files
build.yml
/jobs/build.yml-1+7
/jobs/build.yml
Add comment 8 variables:
Add comment 9 platform: ${{ parameters.platform }}
Add comment 10 arch: ${{ parameters.arch }}
Add comment 11 Minus   xcodeVersion: ${{ '14.3.1' }}
Add comment 11 Plus   xcodeVersion: ${{ '15.2' }}
Add comment 12
Add comment 13 steps:
Add comment 14 - script: |
Add comment 15 Plus   TO_REPLACE="Xcode.app"
Add comment 16 Plus   NEW_STRING="Xcode_$(xcodeVersion).app"
Add comment 17 Plus   sed -ie "s#${TO_REPLACE}#${NEW_STRING}#g" *.gn
Add comment 18 Plus   displayName: 'Replace Strings'
Add comment 19 Plus  
Add comment 20 Plus   - script: |
Add comment 15 21 sudo xcode-select -s /Applications/Xcode_$(xcodeVersion).app
Add comment 16 22 sh build.sh $(platform) $(arch)
Add comment 17 23 displayName: 'Build'
xcframework.yml
/jobs/xcframework.yml+26
/jobs/xcframework.yml
Add comment 5 pool:
Add comment 6 vmImage: macos-13
Add comment 7
Add comment 8 Plus   variables:
Add comment 9 Plus   xcodeVersion: ${{ '15.2' }}
Add comment 10 Plus  
Add comment 8 11 steps:
Add comment 9 12 - task: DownloadBuildArtifacts@0
Add comment 10 13 displayName: 'Download iOS Artifacts'
Add comment 25 28 downloadPath: '$(System.DefaultWorkingDirectory)'
Add comment 26 29
Add comment 27 30 - task: DownloadBuildArtifacts@0
Add comment 31 Plus   displayName: 'Download visionOS Artifacts'
Add comment 32 Plus   inputs:
Add comment 33 Plus   artifactName: 'VisionOS.arm64'
Add comment 34 Plus   downloadPath: '$(System.DefaultWorkingDirectory)'
Add comment 35 Plus  
Add comment 36 Plus   - task: DownloadBuildArtifacts@0
Add comment 37 Plus   displayName: 'Download visionOS Simulator (arm64) Artifacts'
Add comment 38 Plus   inputs:
Add comment 39 Plus   artifactName: 'VisionOSSimulator.arm64'
Add comment 40 Plus   downloadPath: '$(System.DefaultWorkingDirectory)'
Add comment 41 Plus  
Add comment 42 Plus   - task: DownloadBuildArtifacts@0
Add comment 43 Plus   displayName: 'Download visionOS Simulator (x64) Artifacts'
Add comment 44 Plus   inputs:
Add comment 45 Plus   artifactName: 'VisionOSSimulator.x64'
Add comment 46 Plus   downloadPath: '$(System.DefaultWorkingDirectory)'
Add comment 47 Plus  
Add comment 48 Plus   - task: DownloadBuildArtifacts@0
Add comment 28 49 displayName: 'Download Mac (arm64) Artifacts'
Add comment 29 50 inputs:
Add comment 30 51 artifactName: 'Mac.arm64'
Add comment 49 70 downloadPath: '$(System.DefaultWorkingDirectory)'
Add comment 50 71
Add comment 51 72 - script: |
Add comment 73 Plus   sudo xcode-select -s /Applications/Xcode_$(xcodeVersion).app
Add comment 52 74 tar -xzvf iOS.arm64/angle.tar.gz
Add comment 53 75 tar -xzvf Simulator.arm64/angle.tar.gz
Add comment 54 76 tar -xzvf Simulator.x64/angle.tar.gz
Add comment 77 Plus   tar -xzvf VisionOS.arm64/angle.tar.gz
Add comment 78 Plus   tar -xzvf VisionOSSimulator.arm64/angle.tar.gz
Add comment 79 Plus   tar -xzvf VisionOSSimulator.x64/angle.tar.gz
Add comment 55 80 tar -xzvf Mac.arm64/angle.tar.gz
Add comment 56 81 tar -xzvf Mac.x64/angle.tar.gz
Add comment 57 82 tar -xzvf Catalyst.arm64/angle.tar.gz
Add comment 61 86 mv out/libEGL.xcframework .
Add comment 62 87 mv out/libGLESv2.xcframework .
Add comment 63 88 tar -czvf angle.tar.gz *.xcframework
Add comment 89 Plus   displayName: 'Build XCFramework'
Add comment 64 90
Add comment 65 91 - task: PublishBuildArtifacts@1
Add comment 66 92 displayName: 'Publish Artifact'
azure-pipelines.yml
/azure-pipelines.yml+31
/azure-pipelines.yml
Add comment 1 stages:
Add comment 2 - stage: iOS
Add comment 3 displayName: 'iOS'
Add comment 4 Plus   dependsOn: []
Add comment 4 5 jobs:
Add comment 5 6 - template: jobs/build.yml
Add comment 6 7 parameters:
Add comment 25 26 platform: Simulator
Add comment 26 27 arch: x64
Add comment 27 28
Add comment 29 Plus  - stage: visionOS
Add comment 30 Plus   displayName: 'visionOS'
Add comment 31 Plus   dependsOn: []
Add comment 32 Plus   jobs:
Add comment 33 Plus   - template: jobs/build.yml
Add comment 34 Plus   parameters:
Add comment 35 Plus   platform: VisionOS
Add comment 36 Plus   arch: arm64
Add comment 37 Plus  
Add comment 38 Plus  - stage: visionOSSimulatorARM64
Add comment 39 Plus   displayName: 'visionOS Simulator (arm64)'
Add comment 40 Plus   dependsOn: []
Add comment 41 Plus   jobs:
Add comment 42 Plus   - template: jobs/build.yml
Add comment 43 Plus   parameters:
Add comment 44 Plus   platform: VisionOSSimulator
Add comment 45 Plus   arch: arm64
Add comment 46 Plus  
Add comment 47 Plus  - stage: visionOSSimulatorX64
Add comment 48 Plus   displayName: 'visionOS Simulator (x64)'
Add comment 49 Plus   dependsOn: []
Add comment 50 Plus   jobs:
Add comment 51 Plus   - template: jobs/build.yml
Add comment 52 Plus   parameters:
Add comment 53 Plus   platform: VisionOSSimulator
Add comment 54 Plus   arch: x64
Add comment 55 Plus  
Add comment 28 56 - stage: MacARM64
Add comment 29 57 displayName: 'Mac (arm64)'
Add comment 30 58 dependsOn: []
Add comment 67 95 - iOS
Add comment 68 96 - iOSSimulatorARM64
Add comment 69 97 - iOSSimulatorX64
Add comment 98 Plus   - visionOS
Add comment 99 Plus   - visionOSSimulatorARM64
Add comment 100 Plus   - visionOSSimulatorX64
Add comment 70 101 - MacARM64
Add comment 71 102 - MacX64
Add comment 72 103 - CatalystARM64
build_xcframework.sh
/build_xcframework.sh
/build_xcframework.sh
build.sh
/build.sh
/build.sh
Catalyst.arm64.args.gn
/Catalyst.arm64.args.gn
/Catalyst.arm64.args.gn
Catalyst.x64.args.gn
/Catalyst.x64.args.gn
/Catalyst.x64.args.gn
chromium.build.apple.patch
/chromium.build.apple.patch
/chromium.build.apple.patch
iOS.arm64.args.gn
/iOS.arm64.args.gn
/iOS.arm64.args.gn
Mac.arm64.args.gn
/Mac.arm64.args.gn
/Mac.arm64.args.gn
Mac.x64.args.gn
/Mac.x64.args.gn
/Mac.x64.args.gn
Simulator.arm64.args.gn
/Simulator.arm64.args.gn
/Simulator.arm64.args.gn
Simulator.x64.args.gn
/Simulator.x64.args.gn
/Simulator.x64.args.gn
VisionOS.arm64.args.gn
/VisionOS.arm64.args.gn
/VisionOS.arm64.args.gn
VisionOSSimulator.arm64.args.gn
/VisionOSSimulator.arm64.args.gn
/VisionOSSimulator.arm64.args.gn
VisionOSSimulator.x64.args.gn
/VisionOSSimulator.x64.args.gn
/VisionOSSimulator.x64.args.gn
Renamed from
/VisionOSSImulator.arm64.args.gn