Skip to content

CI: exclude gcc@11 on macos-14 (arm64) - #1194

Merged
jalvesz merged 2 commits into
masterfrom
copilot/fix-github-actions-job-build-macos-14
Jul 18, 2026
Merged

CI: exclude gcc@11 on macos-14 (arm64)#1194
jalvesz merged 2 commits into
masterfrom
copilot/fix-github-actions-job-build-macos-14

Conversation

Copilot AI commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

brew install gcc@11 fails on macOS 14 (arm64/Apple Silicon) because the post-install step exits with code 1, causing the entire setup-fortran step to fail and all subsequent cmake steps to be skipped.

Changes

  • .github/workflows/CI.yml: Add {os: macos-14, toolchain: {compiler: gcc, version: 11}} to the matrix exclude list — mirrors the existing exclusion of gcc@10 on macos-14 for the same reason.

Copilot AI changed the title [WIP] Fix failing GitHub Actions job Build (macos-14, gcc, 11, cmake) CI: exclude gcc@11 on macos-14 (arm64) Jul 2, 2026
Copilot AI requested a review from jalvesz July 2, 2026 12:30
@codecov

codecov Bot commented Jul 2, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 68.84%. Comparing base (692632f) to head (81ac66d).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1194   +/-   ##
=======================================
  Coverage   68.84%   68.84%           
=======================================
  Files         408      408           
  Lines       13726    13726           
  Branches     1552     1552           
=======================================
  Hits         9450     9450           
  Misses       4276     4276           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@jalvesz
jalvesz marked this pull request as ready for review July 2, 2026 15:29
@jalvesz
jalvesz requested a review from a team July 17, 2026 10:14

@jvdp1 jvdp1 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM.
Should it be added to the list of not supported compilers/OS in the Readme?

@jalvesz

jalvesz commented Jul 18, 2026

Copy link
Copy Markdown
Contributor

It used to work and it stopped working recently, which makes me think it is probably due to upgrades on github runners or the homebrew packaging and not necessarily because there is a fundamental issue. So I wouldn't add it to the list in such a formal manner because in principle it "ought to work"

@jvdp1

jvdp1 commented Jul 18, 2026

Copy link
Copy Markdown
Member

It used to work and it stopped working recently, which makes me think it is probably due to upgrades on github runners or the homebrew packaging and not necessarily because there is a fundamental issue. So I wouldn't add it to the list in such a formal manner because in principle it "ought to work"

Thank you for the explanation. In that case, I agree to not add it in the README. This PR can be merged IMHO.

@jalvesz

jalvesz commented Jul 18, 2026

Copy link
Copy Markdown
Contributor

https://github.com/fortran-lang/stdlib#supported-compilers

Well, it's true that now that list doesn't hold in terms of tested combinations... I see different options:

Option 1: Try to test using https://github.com/gha3mi/setup-fortran-conda or https://github.com/minhqdao/setup-fortran instead of the current setup-fortran action and see if it works

Option 2: have a section with list of supported combinations that used to work but that are not tested anymore due to runners/actions changes which are out of our hands

We can merge this PR and go for either of those in another PR?

@jalvesz
jalvesz merged commit a2ef8aa into master Jul 18, 2026
178 of 179 checks passed
@jalvesz
jalvesz deleted the copilot/fix-github-actions-job-build-macos-14 branch July 18, 2026 12:54
@jvdp1

jvdp1 commented Jul 18, 2026

Copy link
Copy Markdown
Member

Option 2: have a section with list of supported combinations that used to work but that are not tested anymore due to runners/actions changes which are out of our hands

There is already a table like this in the README. It could be added in this table.

Mahmood-Sinan pushed a commit to Mahmood-Sinan/stdlib that referenced this pull request Aug 12, 2026
* Initial plan

* Fix CI: exclude gcc@11 on macos-14 (arm64) due to post-install failure

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants