Run unit tests under Thread Sanitizer for iOS #2644
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build GSI for Valid Architectures | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| workflow_dispatch: | |
| schedule: | |
| - cron: '0 8 * * *' # Cron uses UTC; run at nightly at midnight PST | |
| permissions: | |
| contents: read | |
| jobs: | |
| cron: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [macos-15] | |
| steps: | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| - name: Select Xcode | |
| run: sudo xcode-select -s /Applications/Xcode_16.4.app/Contents/Developer | |
| - name: Archive for iOS | |
| run: | | |
| xcodebuild \ | |
| archive \ | |
| -scheme GoogleSignIn-Package \ | |
| -destination "generic/platform=iOS" | |
| - name: Archive for macOS | |
| run: | | |
| xcodebuild \ | |
| archive \ | |
| -scheme GoogleSignIn-Package \ | |
| -destination "platform=OS X" | |
| xcode-27-preview-archive: | |
| # Archive every supported platform against the Xcode 27 preview image. The | |
| # image is preview, so this job does not block merges. | |
| # https://github.com/actions/runner-images/issues/14404 | |
| runs-on: xcode-27 | |
| continue-on-error: true | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| destination: [ | |
| 'generic/platform=iOS', | |
| 'platform=OS X' | |
| ] | |
| steps: | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| - name: Archive | |
| run: | | |
| xcodebuild \ | |
| archive \ | |
| -scheme GoogleSignIn-Package \ | |
| -destination "${{ matrix.destination }}" |