File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -314,6 +314,17 @@ jobs:
314
314
# cargo install cargo-dinghy --version=^0.4 --root=$HOME/extern --target=x86_64-apple-darwin
315
315
run : cargo install --git https://github.com/madsmtm/dinghy.git --branch update-cargo --bin cargo-dinghy --root=$HOME/extern --target=x86_64-apple-darwin
316
316
317
+ - name : Launch XCode Simulator and prepare Dinghy
318
+ if : matrix.dinghy
319
+ run : |
320
+ # Get system info
321
+ xcrun simctl list runtimes
322
+
323
+ # Launch the simulator
324
+ RUNTIME_ID=$(xcrun simctl list runtimes | grep iOS | cut -d ' ' -f 7 | tail -1)
325
+ export SIM_ID=$(xcrun simctl create My-iphone7 com.apple.CoreSimulator.SimDeviceType.iPhone-7 $RUNTIME_ID)
326
+ xcrun simctl boot $SIM_ID
327
+
317
328
- name : Lint
318
329
# Temporarily allow `clippy::let_unit_value`
319
330
run : cargo clippy ${{ env.ARGS }} --all-targets -- --deny warnings --allow clippy::let_unit_value
@@ -376,17 +387,6 @@ jobs:
376
387
377
388
cargo run --target=$HOST_TARGET --features=run --bin test-assembly -- ${{ env.ARGS }}
378
389
379
- - name : Launch XCode Simulator
380
- if : matrix.dinghy
381
- run : |
382
- # Get system info
383
- xcrun simctl list runtimes
384
-
385
- # Launch the simulator
386
- RUNTIME_ID=$(xcrun simctl list runtimes | grep iOS | cut -d ' ' -f 7 | tail -1)
387
- export SIM_ID=$(xcrun simctl create My-iphone7 com.apple.CoreSimulator.SimDeviceType.iPhone-7 $RUNTIME_ID)
388
- xcrun simctl boot $SIM_ID
389
-
390
390
- name : Build w. Cargo Dinghy
391
391
if : matrix.dinghy
392
392
run : cargo dinghy --device=$SIM_ID build ${{ matrix.args }}
You can’t perform that action at this time.
0 commit comments