Skip to content

Commit

Permalink
Moved actions to top to quickly test CI
Browse files Browse the repository at this point in the history
  • Loading branch information
simlay committed Sep 22, 2020
1 parent 2712925 commit 28446bf
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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' }}
Expand All @@ -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:
Expand Down

0 comments on commit 28446bf

Please sign in to comment.