Skip to content

[gardening]: update macos architecture wording in README build state matrix #81276

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jamieQ
Copy link
Contributor

@jamieQ jamieQ commented May 3, 2025

the current macos CI builds for both x86 and arm, but the README suggested that it was only x86. update the terminology to make things a bit more clear.

relevant forum post: https://forums.swift.org/t/how-to-add-a-ci-badge-for-macos-aarch64-builds/79622

…matrix

the current macos CI builds for both x86 and arm, but the README
suggested that it was only x86. update the terminology to make things a
bit more clear.
@@ -8,7 +8,7 @@

| | **Architecture** | **Build** |
|---|:---:|:---:|
| **macOS** | x86_64 |[![Build Status](https://ci.swift.org/job/oss-swift-package-macos/lastCompletedBuild/badge/icon)](https://ci.swift.org/job/oss-swift-package-macos)|
| **macOS** | Universal |[![Build Status](https://ci.swift.org/job/oss-swift-package-macos/lastCompletedBuild/badge/icon)](https://ci.swift.org/job/oss-swift-package-macos)|
Copy link
Contributor Author

Choose a reason for hiding this comment

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

happy to change if alternate wording would be more appropriate

Copy link
Member

Choose a reason for hiding this comment

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

Does it actually run the tests for arm64 too? The point of these CI badges is that the tests are run...

Copy link
Contributor Author

Choose a reason for hiding this comment

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

that is a good point, and i'm not sure – perhaps one of the reviewers can speak to this. looking at the output of the 'build script analyzer' in the CI logs i see :

03:32:46  --- Build Script Analyzer ---
03:32:46  Build Script Log: /Users/ec2-user/jenkins/workspace/oss-swift-package-macos/build/.build_script_log
03:32:46  Build Percentage 	 Build Duration (sec) 	 Build Phase
03:32:46  ================ 	 ==================== 	 ===========
03:32:46  37.9%             	 12858.55              	 macosx-x86_64-swift-test
03:32:46  12.0%             	 4089.18               	 macosx-x86_64-swift-build
...
03:32:46  3.9%              	 1310.03               	 macosx-arm64-swift-build
...

so it looks like x86 is tested, but i see no analogous 'macosx-arm64-swift-test' entry, which is curious. i agree that if arm tests aren't run this change could be misleading, so perhaps shouldn't be made.

@jamieQ jamieQ marked this pull request as ready for review May 3, 2025 18:19
@jamieQ
Copy link
Contributor Author

jamieQ commented May 3, 2025

@swift-ci please smoke test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants