From 28446bf7b9b7f0dfb699f95566d6d9163bf6ee71 Mon Sep 17 00:00:00 2001 From: Sebastian Imlay Date: Mon, 21 Sep 2020 20:36:33 -0700 Subject: [PATCH] Moved actions to top to quickly test CI --- .github/workflows/ci.yml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) 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: