Skip to content

Commit

Permalink
Update ci with Android/iOS
Browse files Browse the repository at this point in the history
  • Loading branch information
songww committed Mar 19, 2021
1 parent 7839a41 commit f108174
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,39 @@ jobs:
command: test
args: --manifest-path=fftw/Cargo.toml --features=${{ matrix.feature }} --no-default-features

ios:
runs-on: macos-latest
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v1
- name: Force XCode
run: sudo xcode-select -switch /Applications/Xcode.app
- name: Install targets
run: rustup target install aarch64-apple-ios
- uses: actions-rs/cargo@v1
with:
command: test
args: --manifest-path=fftw/Cargo.toml --target aarch64-apple-ios --features=source --no-default-features --no-run

android:
runs-on: ubuntu-18.04
strategy:
fail-fast: false
matrix:
targets: ["aarch64-linux-android", "armv7-linux-androideabi"]
steps:
- uses: nttld/setup-ndk@v1
with:
ndk-version: r21d
- uses: actions/checkout@v1
- name: Install targets
run: rustup target install aarch64-linux-android armv7-linux-androideabi
- uses: actions-rs/cargo@v1
with:
command: test
args: --manifest-path=fftw/Cargo.toml --target ${{ matrix.targets }} --features=source --no-default-features --no-run

linux:
runs-on: ubuntu-18.04
strategy:
Expand Down

0 comments on commit f108174

Please sign in to comment.