Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Housekeeping. Misc project changes #468

Merged
merged 7 commits into from
Jan 19, 2021
Merged

Housekeeping. Misc project changes #468

merged 7 commits into from
Jan 19, 2021

Commits on Jan 8, 2021

  1. Specify ARCHS for bp and bluepill projects

    Xcode 12.3 also targets Apple Silicon so it will try to build the for arm.
      Upon the frameworks that Bluepill links to, CoreSimulator has arm64e so
      Xcode would refuse to link to it. To make Bluepill build with Xcode 12.3
      here we pin ARCH to x86_64
    chenxiao0228 committed Jan 8, 2021
    Configuration menu
    Copy the full SHA
    65dcb34 View commit details
    Browse the repository at this point in the history

Commits on Jan 10, 2021

  1. Scheme clean up

    Extracted variable DerivedDataPath in build.sh
    Remoted schemes "bp-tests" and "bluepill-tests"
    Changed schemes "bp" and "bluepill" to include related test targets
    Changed schemes in build.sh to build and test "bp" and "bluepill" schemes
    Hide bplib scheme since it's setup as a target dependency of bp and bluepill
    
    The workflow would be:
    Before doing anything, run build-for-testing (CMD+Shift+U) for BPSampleApp
    Work on bp or bluepill targets, to run tests, use test button or (CMD+U)
    chenxiao0228 committed Jan 10, 2021
    Configuration menu
    Copy the full SHA
    e91d7c4 View commit details
    Browse the repository at this point in the history

Commits on Jan 19, 2021

  1. Added build step to capture xcresult files for analysis

    Fixed typo
    
    Always collect xcresult. Even when the tests fail.
    
    Also added the collect xcresult in master workflow.
    chenxiao0228 committed Jan 19, 2021
    Configuration menu
    Copy the full SHA
    6802cde View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    df8e000 View commit details
    Browse the repository at this point in the history
  3. Build the sample app with x86_64 only

    When building with Xcode with Simulator Xcode will pick the host arch. For
      now it's only x86_64
    This change aligns the artifact of the sample app for CI and local dev.
    We will figure out what to do with Apple Silicon when we start to support
      it.
    chenxiao0228 committed Jan 19, 2021
    Configuration menu
    Copy the full SHA
    9dcbc8e View commit details
    Browse the repository at this point in the history
  4. Use 3 machines to run tests

    Refactored bluepill.sh to reuse code for running tests
    Changed github workflow yml's to run tests with 3 machines
    Added base test case class BPIntTestCase to split BluepillTests which runs
      for an hour
    Created new test case BPReportTests to extract some tests out of BluepillTests
      to run on another machine
    chenxiao0228 committed Jan 19, 2021
    Configuration menu
    Copy the full SHA
    846bf82 View commit details
    Browse the repository at this point in the history
  5. Move capture xcresult up

    chenxiao0228 committed Jan 19, 2021
    Configuration menu
    Copy the full SHA
    f92935e View commit details
    Browse the repository at this point in the history