Skip to content

Commit dd2db2e

Browse files
authored
Merge pull request #79 from MichaelHills/mike-ios-ci
Add ios-build to github CI
2 parents 4fe6e8d + 2ad0390 commit dd2db2e

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/coreaudio-rs.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,25 @@ jobs:
2222
# - name: cargo test - all features
2323
# run: cargo test --all-features --verbose
2424

25+
ios-build:
26+
runs-on: macOS-latest
27+
steps:
28+
- uses: actions/checkout@v2
29+
- name: Install llvm and clang
30+
run: brew install llvm
31+
- name: Install stable
32+
uses: actions-rs/toolchain@v1
33+
with:
34+
profile: minimal
35+
toolchain: stable
36+
override: true
37+
- name: Add iOS targets
38+
run: rustup target add aarch64-apple-ios x86_64-apple-ios
39+
- name: Install cargo lipo
40+
run: cargo install cargo-lipo
41+
- name: Build iphonesimulator feedback example
42+
run: cd examples/ios && xcodebuild -scheme coreaudio-ios-example -configuration Debug -derivedDataPath build -sdk iphonesimulator
43+
2544
# Build the docs with all features to make sure docs.rs will work.
2645
macos-docs:
2746
runs-on: macOS-latest

0 commit comments

Comments
 (0)