Skip to content

Commit 6927b45

Browse files
committed
Run tests on iOS using Mac Catalyst
1 parent b6a8fe8 commit 6927b45

File tree

2 files changed

+9
-2
lines changed
  • .github/workflows
  • rustls-platform-verifier/src/tests/verification_mock

2 files changed

+9
-2
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,15 @@ jobs:
194194
./android/emulator.log
195195
/Users/runner/work/rustls-platform-verifier/rustls-platform-verifier/android/rustls-platform-verifier/build/outputs/androidTest-results/connected/test-result.pb
196196
197-
# TODO: Test iOS in CI too.
197+
test_ios:
198+
name: "Test iOS (Catalyst)"
199+
runs-on: macos-latest
200+
steps:
201+
- uses: actions/checkout@v4
202+
- name: Run iOS tests
203+
run: |
204+
rustup target add aarch64-apple-ios-macabi
205+
cargo test --target aarch64-apple-ios-macabi
198206
199207
test-freebsd:
200208
name: Test (FreeBSD)

rustls-platform-verifier/src/tests/verification_mock/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
1616
#![cfg(all(
1717
any(windows, unix, target_os = "android"),
18-
not(target_os = "ios"),
1918
// These OSes require a simulator runtime and bundle.
2019
not(target_os = "tvos"),
2120
not(target_os = "watchos"),

0 commit comments

Comments
 (0)