File tree 1 file changed +9
-1
lines changed
1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -105,12 +105,20 @@ jobs:
105
105
- uses : dtolnay/rust-toolchain@stable
106
106
with :
107
107
targets : ${{ matrix.target }}
108
+ # There is no precompiled cargo-dinghy for Aarch64
108
109
- name : Install precompiled cargo-dinghy
110
+ if : ${{ matrix.target == 'x86_64-apple-ios' }}
109
111
run : |
110
112
VERSION=0.6.2
111
113
URL="https://github.com/sonos/dinghy/releases/download/${VERSION}/cargo-dinghy-macos-${VERSION}.tgz"
112
114
wget -O - $URL | tar -xz --strip-components=1 -C ~/.cargo/bin
113
- cargo dinghy --version
115
+ - name : cargo install cargo-dinghy
116
+ if : ${{ matrix.target == 'aarch64-apple-ios-sim' }}
117
+ run : |
118
+ VERSION=0.6.2
119
+ cargo install cargo-dinghy --version ${VERSION}
120
+ - name : Check cargo-dinghy version.
121
+ run : cargo dinghy --version
114
122
- name : Setup Simulator
115
123
# Use the first installed iOS runtime and the first (i.e. oldest) supported iPhone device.
116
124
run : |
You can’t perform that action at this time.
0 commit comments