diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 18c8275e..9bbde669 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -105,12 +105,20 @@ jobs: - uses: dtolnay/rust-toolchain@stable with: targets: ${{ matrix.target }} + # There is no precompiled cargo-dinghy for Aarch64 - name: Install precompiled cargo-dinghy + if: ${{ matrix.target == 'x86_64-apple-ios' }} run: | VERSION=0.6.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 - cargo dinghy --version + - 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 # Use the first installed iOS runtime and the first (i.e. oldest) supported iPhone device. run: |