Skip to content

CI: compile the iOS native code #967

Done

Description

@Naturalclar

Overview

The ios job in the Example apps workflow bundles the JS and runs pod install, but never compiles anything. A change that breaks ios/*.{h,m} passes CI. The android job does build the app (assembleDebug).

This matters because native PRs rely on it: #964's test plan said "the iOS build relies on CI", and #936's author hadn't run the native change either. Both had to be built by hand during review.

Proposal

Add an xcodebuild step after pod install that builds the example app, and with it the library's pod, for the iOS simulator. No signing, and arm64 only to keep it short.

Keep it in Example apps: Release waits only for Build, so the longer job won't delay or block releases.

Acceptance criteria

  • The ios job compiles RNCSegmentedControl.m and RNCSegmentedControlManager.m.
  • A compile error in the library's iOS code fails the job.
  • The job has a timeout, so a hung build doesn't run for hours.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions