Skip to content
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

Error when using macOS-15 in runs-on matrix configuration #11317

Open
3 of 16 tasks
Drewniok opened this issue Jan 7, 2025 · 2 comments
Open
3 of 16 tasks

Error when using macOS-15 in runs-on matrix configuration #11317

Drewniok opened this issue Jan 7, 2025 · 2 comments

Comments

@Drewniok
Copy link

Drewniok commented Jan 7, 2025

Description

Description

I am encountering an issue (while creating this PR), specifically when configuring a GitHub Actions workflow matrix that includes macOS-15. Adding macOS-15 to the matrix causes the workflow to fail in evaluating the runs-on property, resulting in the following error:

Error when evaluating 'runs-on' for job 'build_and_test'. .github/workflows/macos.yml (Line: 40, Col: 14): Unexpected value ''

This issue does not occur when macOS-15 is excluded from the matrix.

Workflow Configuration

Here is the relevant snippet (whole workflow can be found here) of the GitHub Actions workflow:

jobs:
  build_and_test:
    strategy:
      matrix:
        os: [macos-13, macos-14, macos-15]
        compiler: [g++-12, g++-13, g++-14, clang++]
        include:
          - os: macos-13
            architecture: x64
          - os: macos-14
            architecture: arm64
          - os: macos-15
            architecture: arm64
          - compiler: clang++
            ccompiler: clang
          - compiler: g++-12
            ccompiler: gcc-12
          - compiler: g++-13
            ccompiler: gcc-13
          - compiler: g++-14
            ccompiler: gcc-14

        exclude:
          - os: macos-13
            compiler: g++-13
          - os: macos-14
            compiler: g++-12
          - os: macos-14
            compiler: g++-13
          - os: macos-15
            compiler: g++-12
          - os: macos-15
            compiler: g++-13

    name: 🍎 ${{ matrix.os }} with ${{ matrix.compiler }}
    runs-on: ${{ matrix.os }}

Platforms affected

  • Azure DevOps
  • GitHub Actions - Standard Runners
  • GitHub Actions - Larger Runners

Runner images affected

  • Ubuntu 20.04
  • Ubuntu 22.04
  • Ubuntu 24.04
  • macOS 12
  • macOS 13
  • macOS 13 Arm64
  • macOS 14
  • macOS 14 Arm64
  • macOS 15
  • macOS 15 Arm64
  • Windows Server 2019
  • Windows Server 2022
  • Windows Server 2025

Image version and build link

https://github.com/cda-tum/fiction/actions/runs/12647205220/workflow

Is it regression?

https://github.com/cda-tum/fiction/actions/runs/12261209867

Expected behavior

The workflow should execute with macOS-15 in the matrix, just like it does with macOS-13 and macOS-14.

Actual behavior

When macOS-15 is included in the matrix, the workflow fails with the error message mentioned above. Removing macOS-15 resolves the issue.

Repro steps

  1. Add macOS-15 to the os matrix in the workflow configuration.
  2. Run the workflow.
  3. Observe the error during evaluation of the runs-on property.
@susmitamane
Copy link
Contributor

Hi @Drewniok

We will look into the issue and keep you posted with updates.

Thank You.

@susmitamane
Copy link
Contributor

Hi @Drewniok,

  • I tested both workflows you provided and found that the issue seems to be with the tags you're using for macOS 15 images. The matrix.os value is missing or mismatched in the include or exclude lists. The correct tags should be macos-15-large (intel) and macos-15-xlarge (arm64).

  • I've verified the workflows using macos-15-large (intel) and macos-15-xlarge (arm64), and they are working fine on my end. I've attached screenshots of Yaml and runs for reference. Please check from your side and let me know if you need further assistance.

Screenshot 2025-01-08 at 12 41 22 PM Screenshot 2025-01-08 at 12 42 02 PM Screenshot 2025-01-09 at 12 32 39 PM
  • As it is public repo I noticed that you've used the tags mentioned above in some of your workflows, and now the error has changed. It appears to be related to the compilation of fiction.cpp, which seems to be tied to the application's configuration. Kindly let us know if you are still encountering the same issue for which this ticket was logged.
    Thank you.

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

No branches or pull requests

4 participants