Skip to content

Commit 6739655

Browse files
committed
Copy the model
1 parent d312070 commit 6739655

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

extension/benchmark/apple/Benchmark/default-ios-device-farm-appium-test-spec.yml.j2

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,18 @@ phases:
1414
- curl -s --fail '{{ model_path }}' -o model.zip
1515
- unzip model.zip && ls -la
1616

17-
- mkdir $DEVICEFARM_TEST_PACKAGE_PATH/Debug-iphoneos
18-
- mkdir $DEVICEFARM_TEST_PACKAGE_PATH/Release-iphoneos
17+
# Extract the app
1918
- unzip $DEVICEFARM_APP_PATH -d /tmp
20-
- cp -r /tmp/Payload/*.app $DEVICEFARM_TEST_PACKAGE_PATH/Debug-iphoneos/
21-
- cp -r /tmp/Payload/*.app $DEVICEFARM_TEST_PACKAGE_PATH/Release-iphoneos/
2219

23-
- ls -la $DEVICEFARM_TEST_PACKAGE_PATH/Debug-iphoneos/
24-
- ls -la $DEVICEFARM_TEST_PACKAGE_PATH/Release-iphoneos/
20+
# Copy the model
21+
- mkdir -p /tmp/Payload/Benchmark.app/aatp/data
22+
- cp *.bin /tmp/Payload/Benchmark.app/aatp/data
23+
- cp *.pte /tmp/Payload/Benchmark.app/aatp/data
24+
25+
- mkdir $DEVICEFARM_TEST_PACKAGE_PATH/Debug-iphoneos
26+
- mkdir $DEVICEFARM_TEST_PACKAGE_PATH/Release-iphoneos
27+
- cp -r /tmp/Payload/Benchmark.app $DEVICEFARM_TEST_PACKAGE_PATH/Debug-iphoneos/
28+
- cp -r /tmp/Payload/Benchmark.app $DEVICEFARM_TEST_PACKAGE_PATH/Release-iphoneos/
2529

2630
# The test phase includes commands that run your test suite execution.
2731
test:

0 commit comments

Comments
 (0)