Skip to content

Commit 3d54475

Browse files
committed
revert
1 parent 729096d commit 3d54475

File tree

2 files changed

+3
-84
lines changed

2 files changed

+3
-84
lines changed

js/react_native/e2e/.detoxrc.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ module.exports = {
1414
type: 'ios.app',
1515
binaryPath: 'ios/build/Build/Products/Debug-iphonesimulator/OnnxruntimeModuleExample.app',
1616
build:
17-
'xcodebuild ONLY_ACTIVE_ARCH=YES -workspace ios/OnnxruntimeModuleExample.xcworkspace -scheme OnnxruntimeModuleExample -configuration Debug -sdk iphonesimulator -derivedDataPath ios/build',
17+
'xcodebuild ARCHS=arm64 ONLY_ACTIVE_ARCH=NO -workspace ios/OnnxruntimeModuleExample.xcworkspace -scheme OnnxruntimeModuleExample -configuration Debug -sdk iphonesimulator -derivedDataPath ios/build',
1818
},
1919
'ios.release': {
2020
type: 'ios.app',
2121
binaryPath: 'ios/build/Build/Products/Release-iphonesimulator/OnnxruntimeModuleExample.app',
2222
build:
23-
'xcodebuild ONLY_ACTIVE_ARCH=YES -workspace ios/OnnxruntimeModuleExample.xcworkspace -scheme OnnxruntimeModuleExample -configuration Release -sdk iphonesimulator -derivedDataPath ios/build',
23+
'xcodebuild ARCHS=arm64 ONLY_ACTIVE_ARCH=NO -workspace ios/OnnxruntimeModuleExample.xcworkspace -scheme OnnxruntimeModuleExample -configuration Release -sdk iphonesimulator -derivedDataPath ios/build',
2424
},
2525
'android.debug': {
2626
type: 'android.apk',
@@ -39,7 +39,7 @@ module.exports = {
3939
type: 'ios.simulator',
4040
device: {
4141
type: 'iPhone 15',
42-
os: 'iOS 17.5',
42+
os: 'iOS 17.4',
4343
},
4444
},
4545
attached: {

tools/ci_build/github/azure-pipelines/templates/react-native-ci.yml

Lines changed: 0 additions & 81 deletions
Original file line numberDiff line numberDiff line change
@@ -173,84 +173,3 @@ stages:
173173
displayName: Publish React Native iOS Instrumented Test Results
174174

175175
- template: explicitly-defined-final-tasks.yml
176-
177-
- job: ReactNative_CI_iOS_e2e_tests
178-
dependsOn: 'ReactNative_CI_iOS_build'
179-
180-
${{ if eq(parameters.is1ES, false) }}:
181-
pool:
182-
vmImage: 'macOS-14'
183-
${{ if eq(parameters.is1ES, true) }}:
184-
pool:
185-
name: 'Azure Pipelines'
186-
image: 'macOS-14'
187-
os: 'macOS'
188-
189-
timeoutInMinutes: 90
190-
191-
steps:
192-
- template: flex-downloadPipelineArtifact.yml
193-
parameters:
194-
StepName: 'Download Pipeline Artifact - ios_pod'
195-
ArtifactName: 'ios_pod'
196-
TargetPath: '$(Build.BinariesDirectory)/ios_pod'
197-
198-
- template: use-xcode-version.yml
199-
200-
- task: NodeTool@0
201-
inputs:
202-
versionSpec: '22.x'
203-
204-
- template: ../stages/jobs/steps/react-native-bootstrap-steps.yml
205-
206-
- script: |
207-
ORT_C_LOCAL_POD_PATH=$(Build.BinariesDirectory)/ios_pod/onnxruntime-c \
208-
pod install
209-
workingDirectory: '$(Build.SourcesDirectory)/js/react_native/ios'
210-
displayName: Pod install for onnxruntime react native ios bridge library
211-
212-
# Run E2E tests with Detox on iOS simulator
213-
- script:
214-
brew tap wix/brew
215-
displayName: brew tap wix/brew
216-
217-
- script:
218-
brew install applesimutils
219-
displayName: Install applesimutils tools required by detox ios
220-
221-
- script: |
222-
ORT_C_LOCAL_POD_PATH=$(Build.BinariesDirectory)/ios_pod/onnxruntime-c \
223-
pod install
224-
workingDirectory: '$(Build.SourcesDirectory)/js/react_native/e2e/ios'
225-
displayName: Pod install for onnxruntime react native ios e2e tests
226-
227-
- script: |
228-
detox build --configuration ios.sim.release
229-
workingDirectory: '$(Build.SourcesDirectory)/js/react_native/e2e'
230-
displayName: Build React Native Detox iOS e2e Tests
231-
232-
- script: |
233-
JEST_JUNIT_OUTPUT_FILE=$(Build.SourcesDirectory)/js/react_native/e2e/ios-test-results.xml \
234-
detox test --record-logs all \
235-
--configuration ios.sim.release \
236-
--loglevel verbose \
237-
--take-screenshots failing
238-
workingDirectory: '$(Build.SourcesDirectory)/js/react_native/e2e'
239-
displayName: Run React Native Detox iOS e2e Tests
240-
241-
- task: PublishTestResults@2
242-
inputs:
243-
testResultsFiles: '$(Build.SourcesDirectory)/js/react_native/e2e/ios-test-results.xml'
244-
failTaskOnFailedTests: true
245-
testRunTitle: 'React Native Detox iOS e2e Test Results'
246-
condition: succeededOrFailed()
247-
displayName: Publish React Native Detox iOS e2e Test Results
248-
249-
- task: ${{ variables.publishPipelineArtifactTask }}
250-
inputs:
251-
artifactName: 'ios_e2e_test_logs_$(Build.BuildId)_$(Build.BuildNumber)_$(System.JobAttempt)'
252-
targetPath: '$(Build.SourcesDirectory)/js/react_native/e2e/artifacts'
253-
condition: succeededOrFailed()
254-
displayName: Publish React Native Detox E2E test logs
255-
256-
- template: explicitly-defined-final-tasks.yml

0 commit comments

Comments
 (0)