Skip to content

fix: all pipeline failures - #1221

Merged
Carson Radtke (carsonRadtke) merged 9 commits into
mainfrom
carsonradtke/fix-github-pipeline
Sep 30, 2025
Merged

Carson Radtke (carsonRadtke) merged 9 commits into
mainfrom
carsonradtke/fix-github-pipeline

Conversation

@carsonRadtke

@carsonRadtke Carson Radtke (carsonRadtke) commented Sep 29, 2025 •

Copy link
Copy Markdown
Member

Looks like somewhere along the line, the iOS simulator changed the range of support iOS versions. This changes bumps the version from 9 to 12.0. Seems like this was probably caused by a GitHub runner update; it also affected the xcode version shipped with macos-latest, so that has been bumped from 15.4 to 16.4. Also, windows-2019 has been deprecated, so it has been replaced by windows-2025 in our Visual Studio tests.

Also noticed that the GSL OSX bundle version was quite out of date. I bumped this from 3.1.0 to 4.2.0 and created an upgrade checklist file in docs/ so we don't forget these types of tasks in the future.

Also there is a static assertion that spuriously fails on MSVC that was version checked. Unfortunately it fires every time there is a new compiler update, so for now we will remove the version check and add it back once the compiler bug is fixed.

This change does a lot, but each change is necessary because I can't get anything merged without doing all of the above.

There is a static assertion that spuriously fails on MSVC that was
version checked. Unfortunately it fires every time there is a new
compiler update, so for now we will remove the version check and add it
back once the compiler bug is fixed.
Looks like somewhere along the line, the iOS simulator changed the range
of support iOS versions. This changes bumps the version from 9 to 12.0.

Also noticed that the GSL OSX bundle version was quite out of date. I
bumped this from 3.1.0 to 4.2.0 and created an upgrade checklist file in
docs/ so we don't forget these types of tasks in the future.
@carsonRadtke Carson Radtke (carsonRadtke) changed the title fix: ios pipeline failure fix: all pipeline failures Sep 29, 2025

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull Request Overview

This PR fixes multiple CI pipeline failures by updating platform versions and removing problematic compiler-specific workarounds. The changes address GitHub runner updates that changed iOS simulator support, Xcode versions, and Windows runner availability.

  • Updated iOS deployment target from 9 to 12.0 and Xcode version from 15.4 to 16.4
  • Replaced deprecated windows-2019 with windows-2025 and removed Visual Studio 16 2019 generator
  • Simplified MSVC compiler workarounds by removing version-specific checks that break with new compiler updates

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.

File Description
tests/span_tests.cpp Simplified MSVC compiler version checks to avoid breaking on new compiler updates
docs/upgrade_checklist.md Added new checklist documentation for version upgrade procedures
.github/workflows/ios.yml Updated iOS deployment target and bundle versions, added compiler flags
.github/workflows/compilers.yml Updated Xcode version, replaced deprecated Windows runners, simplified Visual Studio matrix

Comment thread docs/upgrade_checklist.md Resolved
Comment thread docs/upgrade_checklist.md Resolved
Comment thread docs/upgrade_checklist.md Resolved
@github-project-automation github-project-automation Bot moved this from Ready for Review to Approved in Microsoft/GSL Pull Requests In-Flight Sep 30, 2025
Copilot AI pushed a commit that referenced this pull request Dec 4, 2025
* fix: update conditional static assertion
There is a static assertion that spuriously fails on MSVC that was
version checked. Unfortunately it fires every time there is a new
compiler update, so for now we will remove the version check and add it
back once the compiler bug is fixed.

* fix: ios pipeline failure

Looks like somewhere along the line, the iOS simulator changed the range
of support iOS versions. This changes bumps the version from 9 to 12.0.

Also noticed that the GSL OSX bundle version was quite out of date. I
bumped this from 3.1.0 to 4.2.0 and created an upgrade checklist file in
docs/ so we don't forget these types of tasks in the future.

* bump xcode version from 15.4 to 16.4

* fix compiler warning when building gtest for ios

* allow for missing include dirs on command line

* replace windows-2019 with windows-2025

* update visual studio versions after runner bump

* PR feedback: make sure markdown links are syntactically correct
@carsonRadtke
Carson Radtke (carsonRadtke) deleted the carsonradtke/fix-github-pipeline branch December 5, 2025 20:24
social4hyq pushed a commit to social4hyq/homebrew-core that referenced this pull request Sep 20, 2026
cpp-gsl 5.0.0

Created-by: HarmonybrewBot
Commit-by: HarmonybrewBot
Merged-by: HarmonybrewBot
Description: Created by `brew bump`

---

Created with `brew bump-formula-pr`.<details>
  <summary>release notes</summary>
  <pre>## What's Changed
* Update return by value threshold in gsl::not_null by @ozaktash in microsoft/GSL#1205
* copilot: Provide more project context for the Copilot coding agent by @carsonRadtke in microsoft/GSL#1207
* Document differences between hardened std::span and gsl::span by @carsonRadtke with @Copilot in microsoft/GSL#1206
* Add constexpr to not_null comparison operators by @carsonRadtke with @Copilot in microsoft/GSL#1208
* fix: all pipeline failures by @carsonRadtke in microsoft/GSL#1221
* export proper syntax for GSL_SUPPRESS for new VS by @carsonRadtke in microsoft/GSL#1213
* Revert unintended change to GSL_SUPPRESS by @beinhaerter in microsoft/GSL#1226
* use cmake presets instead of cmake settings by @carsonRadtke in microsoft/GSL#1219
* Fix std::hash compilation error for gsl::not_null<std::shared_ptr<T>> by @carsonRadtke with @Copilot in microsoft/GSL#1210
* infra: individual test executables by @carsonRadtke in microsoft/GSL#1212
* doc: Update URL in pointers to F.16 C++ Core Guidelines by @maflcko in microsoft/GSL#1232
* doc: Fix to use lower-case anchors in links to C++ Core Guidelines by @maflcko in microsoft/GSL#1234
* gsl::not_null: C.85: Make swap noexcept by @maflcko in microsoft/GSL#1235
* gsl::not_null: C.89: Make a hash noexcept by @maflcko in microsoft/GSL#1236
* ci: Bump to actions/checkout@v6 by @maflcko in microsoft/GSL#1237
* ci: Use microsoft/setup-msbuild@v3 by @maflcko in microsoft/GSL#1240
* narrow_cast instead of static_cast by @beinhaerter in microsoft/GSL#1250
* ci: Bump actions/setup-java@v5 by @maflcko in microsoft/GSL#1249
* remove space in GSL_SUPPRESS by @beinhaerter in microsoft/GSL#1248
* clang-format improvements by @beinhaerter in microsoft/GSL#1251
* feat: implementation of gsl::dyn_array by @carsonRadtke in microsoft/GSL#1228
* ci: fix failing actions by @carsonRadtke in microsoft/GSL#1255
* docs: fix false statements in gsl::dyn_array docs by @carsonRadtke in microsoft/GSL#1254
* dyn_array: fix include tree by @carsonRadtke in microsoft/GSL#1261
* Bump GSL to v5.0.0 by @carsonRadtke in microsoft/GSL#1262
* docs: fix http:// to https:// in CppCoreGuidelines links by @Rajkaran-122 in microsoft/GSL#1267
* Fix floating-to-integral narrow undefined behavior by @carsonRadtke in microsoft/GSL#1266
* Ensure iterators convert to const iterators by @carsonRadtke in microsoft/GSL#1264
* Prevent external construction of checked iterators by @carsonRadtke in microsoft/GSL#1263

## New Contributors
* @ozaktash made their first contribution in microsoft/GSL#1205
* @maflcko made their first contribution in microsoft/GSL#1232
* @Rajkaran-122 made their first contribution in microsoft/GSL#1267

**Full Changelog**: https://github.com/microsoft/GSL/compare/v4.2.2...v5.0.0</pre>
  <p>View the full release notes at <a href="https://github.com/microsoft/GSL/releases/tag/v5.0.0">https://github.com/microsoft/GSL/releases/tag/v5.0.0</a>.</p>
</details>
<hr>

See merge request: Harmonybrew/homebrew-core!17783
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Priority: Critical Needs immediate attention Type: Infra Changes to build system, tests, or pipelines

Projects

Development

Successfully merging this pull request may close these issues.

3 participants