diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2f08de82192c46..9032e30d092216 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -34,6 +34,18 @@ jobs: target key: ${{ runner.os }}-cargo-check-test-${{ matrix.toolchain }}-${{ hashFiles('**/Cargo.lock') }} + - name: Install cargo-lipo + run: cargo install cargo-lipo + if: ${{ runner.os == 'macOS' }} + + - name: Add iOS targets + run: rustup target add aarch64-apple-ios x86_64-apple-ios + if: ${{ runner.os == 'macOS' }} + + - name: Add iOS targets + run: cd examples/ios && make install + if: ${{ runner.os == 'macOS' }} + - name: Install alsa run: sudo apt-get update; sudo apt-get install --no-install-recommends libasound2-dev if: ${{ runner.os == 'Linux' }} @@ -55,18 +67,6 @@ jobs: CARGO_INCREMENTAL: 0 RUSTFLAGS: "-C debuginfo=0 -D warnings" - - name: Install cargo-lipo - run: cargo install cargo-lipo - if: ${{ runner.os == 'macOS' }} - - - name: Add iOS targets - run: rustup target add aarch64-apple-ios x86_64-apple-ios - if: ${{ runner.os == 'macOS' }} - - - name: Add iOS targets - run: cd examples/ios && make xcodebuild - if: ${{ runner.os == 'macOS' }} - clean: runs-on: ubuntu-latest steps: