Skip to content

Commit

Permalink
Run tests on iOS using Mac Catalyst
Browse files Browse the repository at this point in the history
  • Loading branch information
complexspaces committed Oct 25, 2024
1 parent b6a8fe8 commit 6927b45
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
10 changes: 9 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,15 @@ jobs:
./android/emulator.log
/Users/runner/work/rustls-platform-verifier/rustls-platform-verifier/android/rustls-platform-verifier/build/outputs/androidTest-results/connected/test-result.pb
# TODO: Test iOS in CI too.
test_ios:
name: "Test iOS (Catalyst)"
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Run iOS tests
run: |
rustup target add aarch64-apple-ios-macabi
cargo test --target aarch64-apple-ios-macabi
test-freebsd:
name: Test (FreeBSD)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
#![cfg(all(
any(windows, unix, target_os = "android"),
not(target_os = "ios"),
// These OSes require a simulator runtime and bundle.
not(target_os = "tvos"),
not(target_os = "watchos"),
Expand Down

0 comments on commit 6927b45

Please sign in to comment.