Skip to content

Change Xcode version from 12.2 to 12.4 to ensure GitHub support. #774

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

Merged
merged 17 commits into from
Dec 2, 2021

Conversation

jonsimantov
Copy link
Contributor

@jonsimantov jonsimantov commented Dec 1, 2021

Description

Provide details of the change, and generalize the change in the PR title above.

GitHub Mac runners are dropping Xcode 12.2 support. Xcode 12.4 is the minimum Xcode 12 version available.

Also updates the integration test workflow to respect the xcode version.


Testing

Describe how you've tested these changes. Link any manually triggered Integration tests or CPP binary SDK Packaging Github Action workflows, if applicable.

Running cpp-packaging and integration_tests workflows.


Type of Change

Place an x the applicable box:

  • Bug fix. Add the issue # below if applicable.
  • New feature. A non-breaking change which adds functionality.
  • Other, such as a build process or documentation change.

Notes

  • Bug fixes and feature changes require an update to the Release Notes section of release_build_files/readme.md.
  • Read the contribution guidelines CONTRIBUTING.md.
  • Changes to the public API require an internal API review. If you'd like to help us make Firebase APIs better, please propose your change in a feature request so that we can discuss it together.

@jonsimantov
Copy link
Contributor Author

@jonsimantov jonsimantov added the tests-requested: quick Trigger a quick set of integration tests. label Dec 1, 2021
@github-actions github-actions bot added tests: in-progress This PR's integration tests are in progress. and removed tests-requested: quick Trigger a quick set of integration tests. labels Dec 1, 2021
@github-actions
Copy link

github-actions bot commented Dec 1, 2021

✅  Integration test succeeded!

Requested by @jonsimantov on commit 726cc7d
Last updated: Wed Dec 1 20:08 PST 2021
View integration test log & download artifacts

@github-actions github-actions bot added the tests: failed This PR's integration tests failed. label Dec 1, 2021
@jonsimantov jonsimantov removed tests: in-progress This PR's integration tests are in progress. tests: failed This PR's integration tests failed. labels Dec 1, 2021
@jonsimantov jonsimantov added the tests-requested: quick Trigger a quick set of integration tests. label Dec 1, 2021
@github-actions github-actions bot added tests: in-progress This PR's integration tests are in progress. and removed tests-requested: quick Trigger a quick set of integration tests. labels Dec 1, 2021
@jonsimantov jonsimantov added the tests-requested: quick Trigger a quick set of integration tests. label Dec 1, 2021
@github-actions github-actions bot removed the tests-requested: quick Trigger a quick set of integration tests. label Dec 1, 2021
@jonsimantov jonsimantov added the tests-requested: quick Trigger a quick set of integration tests. label Dec 1, 2021
@github-actions github-actions bot removed the tests-requested: quick Trigger a quick set of integration tests. label Dec 1, 2021
@jonsimantov jonsimantov added the tests-requested: quick Trigger a quick set of integration tests. label Dec 1, 2021
@github-actions github-actions bot removed the tests-requested: quick Trigger a quick set of integration tests. label Dec 1, 2021
@jonsimantov jonsimantov added the tests-requested: quick Trigger a quick set of integration tests. label Dec 1, 2021
@github-actions github-actions bot removed the tests-requested: quick Trigger a quick set of integration tests. label Dec 1, 2021
@jonsimantov jonsimantov added the tests-requested: quick Trigger a quick set of integration tests. label Dec 1, 2021
@github-actions github-actions bot removed the tests-requested: quick Trigger a quick set of integration tests. label Dec 1, 2021
@jonsimantov jonsimantov added the tests-requested: quick Trigger a quick set of integration tests. label Dec 1, 2021
@github-actions github-actions bot removed the tests-requested: quick Trigger a quick set of integration tests. label Dec 1, 2021
@jonsimantov jonsimantov added the tests-requested: quick Trigger a quick set of integration tests. label Dec 1, 2021
@github-actions github-actions bot removed the tests-requested: quick Trigger a quick set of integration tests. label Dec 1, 2021
@jonsimantov jonsimantov added the tests-requested: quick Trigger a quick set of integration tests. label Dec 1, 2021
@github-actions github-actions bot removed the tests-requested: quick Trigger a quick set of integration tests. label Dec 1, 2021
@jonsimantov jonsimantov enabled auto-merge (squash) December 1, 2021 23:38
@github-actions github-actions bot added the tests: failed This PR's integration tests failed. label Dec 2, 2021
@@ -74,9 +74,13 @@ jobs:
architecture: "x86"
# Xcode excludes -- allow only one on osx and linux
- os: ubuntu-latest
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why there's extra two entries?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This makes it so it doesn't repeat the linux/windows jobs even if the matrix contains xcode 11.7, 12.4, and 12.5.1. (previously it was omitting 12.4, which is the actual version we use now, so this swaps it to the others - previously there was a bug where 11.7 was missing here.)

Copy link
Contributor Author

@jonsimantov jonsimantov Dec 2, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To clarify: the expanded matrix will have the following (simplified) list of targets:

  • macos - xcode 11.7
  • windows - xcode 11.7
  • ubuntu - xcode 11.7
  • macos - xcode 12.4
  • windows - xcode 12.4
  • ubuntu - xcode 12.4
  • macos - xcode 12.5.1
  • windows - xcode 12.5.1
  • ubuntu - xcode 12.5.1

These "excludes" entries ensure that only one set of ubuntu and windows will be run. And it can't exclude 12.4, because 12.4 is now the one that runs in the non-expanded matrix.

@jonsimantov jonsimantov removed tests: failed This PR's integration tests failed. tests: in-progress This PR's integration tests are in progress. labels Dec 2, 2021
@jonsimantov
Copy link
Contributor Author

@jonsimantov jonsimantov merged commit 726cc7d into main Dec 2, 2021
@github-actions github-actions bot added tests: in-progress This PR's integration tests are in progress. tests: failed This PR's integration tests failed. labels Dec 2, 2021
@firebase-workflow-trigger firebase-workflow-trigger bot removed the tests: in-progress This PR's integration tests are in progress. label Dec 2, 2021
@github-actions github-actions bot added the tests: succeeded This PR's integration tests succeeded. label Dec 2, 2021
@jonsimantov jonsimantov deleted the bugfix/xcode_version branch December 2, 2021 05:41
jonsimantov added a commit that referenced this pull request Dec 4, 2021
* Fix link in readme (#768)

* update test devices (#757)

* Timeout and Retry FTL failures and mark flakiness

* Update C++ SDK version to 8.8.0.

* Add Analytics header update to iOS SDK update. (#775)

* Add Analytics header update to iOS SDK update.

* Update Android dependencies - Wed Dec 01 2021 (#773)

### Android

- com.google.firebase.firebase_database → 20.0.3
- com.google.firebase.firebase_perf → 20.0.4

> Created by [Update Android and iOS dependencies workflow](https://github.com/firebase/firebase-cpp-sdk/actions/runs/1527401903).

Co-authored-by: firebase-workflow-trigger-bot <[email protected]>

* Fix typo in log output.

* Change Xcode version from 12.2 to 12.4 to ensure GitHub support. (#774)

* Change Xcode version from 12.2 to 12.4 to ensure GitHub support.

* Fix integration tests workflow to respect xcode_version in matrix.

* Add extra newline to header comment.

* Update iOS dependencies - Thu Dec 02 2021 (#779)

* Update iOS dependencies - Thu Dec 02 2021

### iOS

- Firebase/Analytics → 8.10.0
- Firebase/Auth → 8.10.0
- Firebase/Core → 8.10.0
- Firebase/Crashlytics → 8.10.0
- Firebase/Database → 8.10.0
- Firebase/DynamicLinks → 8.10.0
- Firebase/Firestore → 8.10.0
- Firebase/Functions → 8.10.0
- Firebase/Installations → 8.10.0
- Firebase/Messaging → 8.10.0
- Firebase/RemoteConfig → 8.10.0
- Firebase/Storage → 8.10.0

> Created by [Update Android and iOS dependencies workflow](https://github.com/firebase/firebase-cpp-sdk/actions/runs/1528664697).

* Add missing copyright lines.

* Add Firestore release note.

Co-authored-by: firebase-workflow-trigger-bot <[email protected]>
Co-authored-by: Jon Simantov <[email protected]>

* Properly convert milliseconds to seconds (#767)

* Properly convert milliseconds to seconds

Currently, a value expressed in milliseconds is directly assigned to a variable
which is supposed to store seconds and it's later converted to mills again.
Thus, convert properly upon assignment

* Update readme.md

* Change LogDebug to NSLog in app's swizzling code. (#783)

* Change LogDebug to NSLog.

* Change log message.

* Add comment.

* Add copyright line when importing Analytics iOS headers, if missing (#780)

* Add copyright line to iOS headers

* Make copyright conditional to whether the file already has one.

* Also set Xcode version explicitly in Android workflow. (#786)

* Timeout & retry "install integration test deps" step (#785)

* Format code.

Co-authored-by: Борис Рязанцев <[email protected]>
Co-authored-by: Mou Sun <[email protected]>
Co-authored-by: firebase-workflow-trigger[bot] <80733318+firebase-workflow-trigger[bot]@users.noreply.github.com>
Co-authored-by: firebase-workflow-trigger-bot <[email protected]>
Co-authored-by: pawelsnk <[email protected]>
@firebase firebase locked and limited conversation to collaborators Jan 1, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cla: yes tests: failed This PR's integration tests failed. tests: succeeded This PR's integration tests succeeded.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants