react-native-macos/.ado/apple-pr.yml

101 строка
3.1 KiB
YAML
Исходник Обычный вид История

# This file defines the Apple PR build steps used during the CI loop
name: $(Date:yyyyMMdd).$(Rev:.r)
variables:
- template: variables/mac.yml
trigger: none # will disable CI builds entirely
pr:
branches:
include:
- master
- '*-stable'
paths:
exclude:
- '*.md'
jobs:
- job: JavaScriptRNPR
displayName: JavaScript React Native PR
Moving the android specific changes to patch files and reverting them… (#254) * Moving the android specific changes to patch files and reverting them from the repo. * Apply patches immediately after cloning * Fixing the webpack config for the bundle to run correctly * Removing an unwanted hunk from folly makefile hwich might be causing a build failure * Reverting src/main/jni/third-party/folly/Android.mk hoping for the best. If this doesn't work then will look deeper * Fixing the patch scripts * Fixing a patch file with integrity failure.. and tightening the error handling. * Adding more diagnostics * More diagnostics * Fixing line splitting of patch and source files while patching * Cleaning up the diagnostics.. Patching should work this time. * Reverting the change needed for MAC/iOS * More diagnostics printed out .. * Fixing MAC/iOS build * yarn test -u * Update .eslintignore Update .eslintignore to ignore patching code and patch files. * Fixing a couple of linking errors in JS' * Adding prettierignore and making some fixes to the patches * More fixes to the path * Making required changes in Apple PR/Publish build pipelines to valiate/publish patched as well as unpatched code * A fix in the patch application condition * More fixes in the patch application condition * Another attempt to fix the patching condition * Yet Another attempt to fix the patching condition * Yet Another attempt to fix the patching condition.. forcing the parameter to be strings * Yet Another attempt to fix the patching condition.. forcing the parameter to be strings * Making patches work on non-windows.. and more fixes for the condition in yaml * Diagnostics for debugging conditions * Diagnostics for debugging conditions 2 * Diagnostics for debugging conditions 3 * Diagnostics for debugging conditions 3 * Diagnostics for debugging conditions 3 * Diagnostics for debugging conditions 3 * Diagnostics for debugging conditions 3 * Diagnostics for debugging conditions 3 * Diagnostics for debugging conditions 3 * Diagnostics for debugging conditions 3 * Diagnostics for debugging conditions 3 * Diagnostics for debugging conditions 3 * Diagnostics for debugging conditions 3 * Diagnostics for debugging conditions 3 * Diagnostics for debugging conditions 3 * Diagnostics for debugging conditions 3 * Diagnostics for debugging conditions 3 * Workaround * Workaround * Workaround * Workaround * Fixing Apple build failure with patch applied .. * Refactoring the patch application to template * Fixing the template file relative URL when referenced from another template * Fixing a mistake introduced while refactoring the patch creating steps. * Fixing some formatting * Fixing some formatting Co-authored-by: Anandraj <anandrag@microsoft.com>
2020-03-19 04:20:08 +03:00
strategy:
matrix:
office:
apply_office_patches: 'true'
public:
apply_office_patches: 'false'
pool:
vmImage: $(VmImage)
demands: ['xcode', 'sh', 'npm']
steps:
- template: templates/apple-job-javascript.yml
Moving the android specific changes to patch files and reverting them… (#254) * Moving the android specific changes to patch files and reverting them from the repo. * Apply patches immediately after cloning * Fixing the webpack config for the bundle to run correctly * Removing an unwanted hunk from folly makefile hwich might be causing a build failure * Reverting src/main/jni/third-party/folly/Android.mk hoping for the best. If this doesn't work then will look deeper * Fixing the patch scripts * Fixing a patch file with integrity failure.. and tightening the error handling. * Adding more diagnostics * More diagnostics * Fixing line splitting of patch and source files while patching * Cleaning up the diagnostics.. Patching should work this time. * Reverting the change needed for MAC/iOS * More diagnostics printed out .. * Fixing MAC/iOS build * yarn test -u * Update .eslintignore Update .eslintignore to ignore patching code and patch files. * Fixing a couple of linking errors in JS' * Adding prettierignore and making some fixes to the patches * More fixes to the path * Making required changes in Apple PR/Publish build pipelines to valiate/publish patched as well as unpatched code * A fix in the patch application condition * More fixes in the patch application condition * Another attempt to fix the patching condition * Yet Another attempt to fix the patching condition * Yet Another attempt to fix the patching condition.. forcing the parameter to be strings * Yet Another attempt to fix the patching condition.. forcing the parameter to be strings * Making patches work on non-windows.. and more fixes for the condition in yaml * Diagnostics for debugging conditions * Diagnostics for debugging conditions 2 * Diagnostics for debugging conditions 3 * Diagnostics for debugging conditions 3 * Diagnostics for debugging conditions 3 * Diagnostics for debugging conditions 3 * Diagnostics for debugging conditions 3 * Diagnostics for debugging conditions 3 * Diagnostics for debugging conditions 3 * Diagnostics for debugging conditions 3 * Diagnostics for debugging conditions 3 * Diagnostics for debugging conditions 3 * Diagnostics for debugging conditions 3 * Diagnostics for debugging conditions 3 * Diagnostics for debugging conditions 3 * Diagnostics for debugging conditions 3 * Diagnostics for debugging conditions 3 * Workaround * Workaround * Workaround * Workaround * Fixing Apple build failure with patch applied .. * Refactoring the patch application to template * Fixing the template file relative URL when referenced from another template * Fixing a mistake introduced while refactoring the patch creating steps. * Fixing some formatting * Fixing some formatting Co-authored-by: Anandraj <anandrag@microsoft.com>
2020-03-19 04:20:08 +03:00
parameters:
apply_office_patches: $(apply_office_patches)
- job: AppleRNPR
displayName: Apple React Native PR
strategy:
matrix:
ios:
packager_platform: 'ios'
xcode_sdk: iphonesimulator
xcode_scheme: 'RNTester'
xcode_destination: 'platform=iOS Simulator,OS=latest,name=iPhone 8'
xcode_actions_debug: 'build test'
xcode_actions_release: 'build'
Moving the android specific changes to patch files and reverting them… (#254) * Moving the android specific changes to patch files and reverting them from the repo. * Apply patches immediately after cloning * Fixing the webpack config for the bundle to run correctly * Removing an unwanted hunk from folly makefile hwich might be causing a build failure * Reverting src/main/jni/third-party/folly/Android.mk hoping for the best. If this doesn't work then will look deeper * Fixing the patch scripts * Fixing a patch file with integrity failure.. and tightening the error handling. * Adding more diagnostics * More diagnostics * Fixing line splitting of patch and source files while patching * Cleaning up the diagnostics.. Patching should work this time. * Reverting the change needed for MAC/iOS * More diagnostics printed out .. * Fixing MAC/iOS build * yarn test -u * Update .eslintignore Update .eslintignore to ignore patching code and patch files. * Fixing a couple of linking errors in JS' * Adding prettierignore and making some fixes to the patches * More fixes to the path * Making required changes in Apple PR/Publish build pipelines to valiate/publish patched as well as unpatched code * A fix in the patch application condition * More fixes in the patch application condition * Another attempt to fix the patching condition * Yet Another attempt to fix the patching condition * Yet Another attempt to fix the patching condition.. forcing the parameter to be strings * Yet Another attempt to fix the patching condition.. forcing the parameter to be strings * Making patches work on non-windows.. and more fixes for the condition in yaml * Diagnostics for debugging conditions * Diagnostics for debugging conditions 2 * Diagnostics for debugging conditions 3 * Diagnostics for debugging conditions 3 * Diagnostics for debugging conditions 3 * Diagnostics for debugging conditions 3 * Diagnostics for debugging conditions 3 * Diagnostics for debugging conditions 3 * Diagnostics for debugging conditions 3 * Diagnostics for debugging conditions 3 * Diagnostics for debugging conditions 3 * Diagnostics for debugging conditions 3 * Diagnostics for debugging conditions 3 * Diagnostics for debugging conditions 3 * Diagnostics for debugging conditions 3 * Diagnostics for debugging conditions 3 * Diagnostics for debugging conditions 3 * Workaround * Workaround * Workaround * Workaround * Fixing Apple build failure with patch applied .. * Refactoring the patch application to template * Fixing the template file relative URL when referenced from another template * Fixing a mistake introduced while refactoring the patch creating steps. * Fixing some formatting * Fixing some formatting Co-authored-by: Anandraj <anandrag@microsoft.com>
2020-03-19 04:20:08 +03:00
apply_office_patches: 'false'
macos:
packager_platform: 'macos'
xcode_sdk: macosx
xcode_scheme: 'RNTester-macOS'
xcode_destination: 'platform=macOS,arch=x86_64'
2019-11-12 04:15:26 +03:00
xcode_actions_debug: 'build test'
xcode_actions_release: 'build'
Moving the android specific changes to patch files and reverting them… (#254) * Moving the android specific changes to patch files and reverting them from the repo. * Apply patches immediately after cloning * Fixing the webpack config for the bundle to run correctly * Removing an unwanted hunk from folly makefile hwich might be causing a build failure * Reverting src/main/jni/third-party/folly/Android.mk hoping for the best. If this doesn't work then will look deeper * Fixing the patch scripts * Fixing a patch file with integrity failure.. and tightening the error handling. * Adding more diagnostics * More diagnostics * Fixing line splitting of patch and source files while patching * Cleaning up the diagnostics.. Patching should work this time. * Reverting the change needed for MAC/iOS * More diagnostics printed out .. * Fixing MAC/iOS build * yarn test -u * Update .eslintignore Update .eslintignore to ignore patching code and patch files. * Fixing a couple of linking errors in JS' * Adding prettierignore and making some fixes to the patches * More fixes to the path * Making required changes in Apple PR/Publish build pipelines to valiate/publish patched as well as unpatched code * A fix in the patch application condition * More fixes in the patch application condition * Another attempt to fix the patching condition * Yet Another attempt to fix the patching condition * Yet Another attempt to fix the patching condition.. forcing the parameter to be strings * Yet Another attempt to fix the patching condition.. forcing the parameter to be strings * Making patches work on non-windows.. and more fixes for the condition in yaml * Diagnostics for debugging conditions * Diagnostics for debugging conditions 2 * Diagnostics for debugging conditions 3 * Diagnostics for debugging conditions 3 * Diagnostics for debugging conditions 3 * Diagnostics for debugging conditions 3 * Diagnostics for debugging conditions 3 * Diagnostics for debugging conditions 3 * Diagnostics for debugging conditions 3 * Diagnostics for debugging conditions 3 * Diagnostics for debugging conditions 3 * Diagnostics for debugging conditions 3 * Diagnostics for debugging conditions 3 * Diagnostics for debugging conditions 3 * Diagnostics for debugging conditions 3 * Diagnostics for debugging conditions 3 * Diagnostics for debugging conditions 3 * Workaround * Workaround * Workaround * Workaround * Fixing Apple build failure with patch applied .. * Refactoring the patch application to template * Fixing the template file relative URL when referenced from another template * Fixing a mistake introduced while refactoring the patch creating steps. * Fixing some formatting * Fixing some formatting Co-authored-by: Anandraj <anandrag@microsoft.com>
2020-03-19 04:20:08 +03:00
apply_office_patches: 'false'
ios-office:
packager_platform: 'ios'
xcode_sdk: iphonesimulator
xcode_scheme: 'RNTester'
xcode_destination: 'platform=iOS Simulator,OS=latest,name=iPhone 8'
xcode_actions_debug: 'build test'
xcode_actions_release: 'build'
apply_office_patches: 'true'
macos-office:
packager_platform: 'macos'
xcode_sdk: macosx
xcode_scheme: 'RNTester-macOS'
xcode_destination: 'platform=macOS,arch=x86_64'
xcode_actions_debug: 'build test'
xcode_actions_release: 'build'
apply_office_patches: 'true'
pool:
vmImage: $(VmImage)
demands: ['xcode', 'sh', 'npm']
timeoutInMinutes: 60 # how long to run the job before automatically cancelling
cancelTimeoutInMinutes: 5 # how much time to give 'run always even if cancelled tasks' before killing them
steps:
- template: templates/apple-job-react-native.yml
parameters:
packager_platform: $(packager_platform)
xcode_sdk: $(xcode_sdk)
xcode_configuration: $(xcode_configuration)
xcode_scheme: $(xcode_scheme)
xcode_actions_debug: $(xcode_actions_debug)
xcode_actions_release: $(xcode_actions_release)
xcode_destination: $(xcode_destination)
Moving the android specific changes to patch files and reverting them… (#254) * Moving the android specific changes to patch files and reverting them from the repo. * Apply patches immediately after cloning * Fixing the webpack config for the bundle to run correctly * Removing an unwanted hunk from folly makefile hwich might be causing a build failure * Reverting src/main/jni/third-party/folly/Android.mk hoping for the best. If this doesn't work then will look deeper * Fixing the patch scripts * Fixing a patch file with integrity failure.. and tightening the error handling. * Adding more diagnostics * More diagnostics * Fixing line splitting of patch and source files while patching * Cleaning up the diagnostics.. Patching should work this time. * Reverting the change needed for MAC/iOS * More diagnostics printed out .. * Fixing MAC/iOS build * yarn test -u * Update .eslintignore Update .eslintignore to ignore patching code and patch files. * Fixing a couple of linking errors in JS' * Adding prettierignore and making some fixes to the patches * More fixes to the path * Making required changes in Apple PR/Publish build pipelines to valiate/publish patched as well as unpatched code * A fix in the patch application condition * More fixes in the patch application condition * Another attempt to fix the patching condition * Yet Another attempt to fix the patching condition * Yet Another attempt to fix the patching condition.. forcing the parameter to be strings * Yet Another attempt to fix the patching condition.. forcing the parameter to be strings * Making patches work on non-windows.. and more fixes for the condition in yaml * Diagnostics for debugging conditions * Diagnostics for debugging conditions 2 * Diagnostics for debugging conditions 3 * Diagnostics for debugging conditions 3 * Diagnostics for debugging conditions 3 * Diagnostics for debugging conditions 3 * Diagnostics for debugging conditions 3 * Diagnostics for debugging conditions 3 * Diagnostics for debugging conditions 3 * Diagnostics for debugging conditions 3 * Diagnostics for debugging conditions 3 * Diagnostics for debugging conditions 3 * Diagnostics for debugging conditions 3 * Diagnostics for debugging conditions 3 * Diagnostics for debugging conditions 3 * Diagnostics for debugging conditions 3 * Diagnostics for debugging conditions 3 * Workaround * Workaround * Workaround * Workaround * Fixing Apple build failure with patch applied .. * Refactoring the patch application to template * Fixing the template file relative URL when referenced from another template * Fixing a mistake introduced while refactoring the patch creating steps. * Fixing some formatting * Fixing some formatting Co-authored-by: Anandraj <anandrag@microsoft.com>
2020-03-19 04:20:08 +03:00
apply_office_patches: $(apply_office_patches)
- job: CliInit
displayName: Verify react-native-macos-init
strategy:
matrix:
MacDebug:
configuration: Debug
pool:
vmImage: $(VmImage)
demands: ['xcode', 'sh', 'npm']
steps:
- template: templates/react-native-macos-init.yml
parameters:
configuration: $(configuration)