Skip to content

Commit f108174

Browse files
committed
Update ci with Android/iOS
1 parent 7839a41 commit f108174

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.github/workflows/rust.yml

+33
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,39 @@ jobs:
4141
command: test
4242
args: --manifest-path=fftw/Cargo.toml --features=${{ matrix.feature }} --no-default-features
4343

44+
ios:
45+
runs-on: macos-latest
46+
strategy:
47+
fail-fast: false
48+
steps:
49+
- uses: actions/checkout@v1
50+
- name: Force XCode
51+
run: sudo xcode-select -switch /Applications/Xcode.app
52+
- name: Install targets
53+
run: rustup target install aarch64-apple-ios
54+
- uses: actions-rs/cargo@v1
55+
with:
56+
command: test
57+
args: --manifest-path=fftw/Cargo.toml --target aarch64-apple-ios --features=source --no-default-features --no-run
58+
59+
android:
60+
runs-on: ubuntu-18.04
61+
strategy:
62+
fail-fast: false
63+
matrix:
64+
targets: ["aarch64-linux-android", "armv7-linux-androideabi"]
65+
steps:
66+
- uses: nttld/setup-ndk@v1
67+
with:
68+
ndk-version: r21d
69+
- uses: actions/checkout@v1
70+
- name: Install targets
71+
run: rustup target install aarch64-linux-android armv7-linux-androideabi
72+
- uses: actions-rs/cargo@v1
73+
with:
74+
command: test
75+
args: --manifest-path=fftw/Cargo.toml --target ${{ matrix.targets }} --features=source --no-default-features --no-run
76+
4477
linux:
4578
runs-on: ubuntu-18.04
4679
strategy:

0 commit comments

Comments
 (0)