Skip to content

Commit

Permalink
Upgrade to cargo-dinghy 0.7.2 (#488)
Browse files Browse the repository at this point in the history
There is now a universal binary after
sonos/dinghy#209.
  • Loading branch information
briansmith committed Jun 21, 2024
1 parent baae5fc commit 6bb19a2
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,20 +93,11 @@ jobs:
- uses: dtolnay/rust-toolchain@stable
with:
targets: ${{ matrix.target }}
# There is no precompiled cargo-dinghy for Aarch64. The precompiled
# x86_64 binary runs on ARM64 macOS via Rosetta 2, but it fails to
# correctly interface with macOS toolchain.
- name: Install precompiled cargo-dinghy
if: ${{ matrix.target == 'x86_64-apple-ios' }}
run: |
VERSION=0.6.2
VERSION=0.7.2
URL="https://github.com/sonos/dinghy/releases/download/${VERSION}/cargo-dinghy-macos-${VERSION}.tgz"
wget -O - $URL | tar -xz --strip-components=1 -C ~/.cargo/bin
- name: cargo install cargo-dinghy
if: ${{ matrix.target == 'aarch64-apple-ios-sim' }}
run: |
VERSION=0.6.2
cargo install cargo-dinghy --version ${VERSION}
- name: Check cargo-dinghy version.
run: cargo dinghy --version
- name: Setup Simulator
Expand Down

0 comments on commit 6bb19a2

Please sign in to comment.