Skip to content

Commit 69997fd

Browse files
committed
Use cargo install for aarch64-apple-darwin cargo-dinghy
1 parent 30edfa9 commit 69997fd

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/tests.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,12 +105,20 @@ jobs:
105105
- uses: dtolnay/rust-toolchain@stable
106106
with:
107107
targets: ${{ matrix.target }}
108+
# There is no precompiled cargo-dinghy for Aarch64
108109
- name: Install precompiled cargo-dinghy
110+
if: ${{ matrix.target == 'x86_64-apple-ios' }}
109111
run: |
110112
VERSION=0.6.2
111113
URL="https://github.com/sonos/dinghy/releases/download/${VERSION}/cargo-dinghy-macos-${VERSION}.tgz"
112114
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
114122
- name: Setup Simulator
115123
# Use the first installed iOS runtime and the first (i.e. oldest) supported iPhone device.
116124
run: |

0 commit comments

Comments
 (0)