From 7e10e10d82c9cf03ce9326a744fa2341c3600dc6 Mon Sep 17 00:00:00 2001 From: Cedric Guillemet <1312968+CedricGuillemet@users.noreply.github.com> Date: Mon, 9 Oct 2023 09:37:55 +0200 Subject: [PATCH] timeout for Azure Pipelines test --- azure-pipelines.yml | 57 ++++++++++++++++++++++++--------------------- 1 file changed, 30 insertions(+), 27 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 38841d8c4..e7757c293 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -1,31 +1,34 @@ trigger: - master -pool: - vmImage: macos-latest +jobs: + - job: buildTest + timeoutInMinutes: 120 + pool: + vmImage: macos-latest -steps: -- checkout: self - name: Checkout -- task: UseNode@1 - inputs: - version: '16.x' -- script: brew install ninja - displayName: 'Setup Ninja' -- script: sudo xcode-select --switch /Applications/Xcode_13.4.1.app/Contents/Developer - displayName: 'Select XCode 13.4.1' -- script: npm install - displayName: 'NPM Install (Playground)' - workingDirectory: './Apps/Playground' -- script: npm run select --reactNative 0.64 - displayName: 'Select React Native Version 0.64' - workingDirectory: './Apps/Playground' -- script: npm install - displayName: 'NPM Install (Binary Package)' - workingDirectory: './Package' -- script: npx gulp --reactNative 0.64 --releaseVersion 1.6.6.6 - displayName: 'Gulp' - workingDirectory: './Package' - env: - JAVA_HOME: $(JAVA_HOME_11_X64) - PATH: $(JAVA_HOME_11_X64)/bin:$(PATH) + steps: + - checkout: self + name: Checkout + - task: UseNode@1 + inputs: + version: '16.x' + - script: brew install ninja + displayName: 'Setup Ninja' + - script: sudo xcode-select --switch /Applications/Xcode_13.4.1.app/Contents/Developer + displayName: 'Select XCode 13.4.1' + - script: npm install + displayName: 'NPM Install (Playground)' + workingDirectory: './Apps/Playground' + - script: npm run select --reactNative 0.64 + displayName: 'Select React Native Version 0.64' + workingDirectory: './Apps/Playground' + - script: npm install + displayName: 'NPM Install (Binary Package)' + workingDirectory: './Package' + - script: npx gulp --reactNative 0.64 --releaseVersion 1.6.6.6 + displayName: 'Gulp' + workingDirectory: './Package' + env: + JAVA_HOME: $(JAVA_HOME_11_X64) + PATH: $(JAVA_HOME_11_X64)/bin:$(PATH)