install rust target for arm ios simulator (#13077)

# Objective

- GitHub action running iOS CI has been updated to use arm runner
- This makes iOS test fail as it's not installing the correct rust
target

## Solution

- add the correct rust target, do not remove x86 targets for now as it
may be some time for a partial rollout
This commit is contained in:
François Mockers 2024-04-23 22:27:21 +02:00 committed by GitHub
parent c593ee1055
commit dcbdae003f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -32,8 +32,9 @@ jobs:
target
key: ${{ runner.os }}-ios-install-${{ matrix.toolchain }}-${{ hashFiles('**/Cargo.lock') }}
# TODO: remove x86 target once it always run on arm GitHub runners
- name: Add iOS targets
run: rustup target add aarch64-apple-ios x86_64-apple-ios
run: rustup target add aarch64-apple-ios x86_64-apple-ios aarch64-apple-ios-sim
- name: Build and install iOS app in iOS Simulator.
run: cd examples/mobile && make install