diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8045ba8..3e09098 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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) diff --git a/rustls-platform-verifier/src/tests/verification_mock/mod.rs b/rustls-platform-verifier/src/tests/verification_mock/mod.rs index a71dd3c..dec0b45 100644 --- a/rustls-platform-verifier/src/tests/verification_mock/mod.rs +++ b/rustls-platform-verifier/src/tests/verification_mock/mod.rs @@ -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"),