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

Apple ARM GitHub runners fail on PHP #825

Closed
3 of 5 tasks
Lewiscowles1986 opened this issue Feb 29, 2024 · 3 comments
Closed
3 of 5 tasks

Apple ARM GitHub runners fail on PHP #825

Lewiscowles1986 opened this issue Feb 29, 2024 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@Lewiscowles1986
Copy link

Describe the bug

pact-foundation/pact-php#497

(in fact lots of recent runs) which use this, error when trying to setup php

Version

  • I have checked releases, and the bug exists in the latest patch version of v1 or v2.
  • v2
  • v1 (no data)

Runners

  • GitHub Hosted
  • Self Hosted (no data)

Operating systems

MacOS, ARM

PHP versions

8.1, 8.2, 8.3

To Reproduce

name: Code Analysis & Test

on:
  push: 
test:
    runs-on: macos-14
    steps:
      - uses: actions/checkout@v4
        name: Checkout repository

      - name: Setup PHP
        uses: shivammathur/setup-php@v2
        with:
          extensions: sockets, curl, zip, ffi
          php-version: 8.2
          coverage: none
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}


Expected behavior

No warnings about dylib

Screenshots/Logs

https://github.com/pact-foundation/pact-php/actions/runs/8074546373/job/22060026690?pr=494

Additional context

As your job passes, I never thought about it twice, but looking at the logs, it seems to be the root cause.

Are you willing to submit a PR?

If it stays open long enough. Watching failing builds is making my eye twitch

From pact-foundation/pact-php#497

@Lewiscowles1986 Lewiscowles1986 added the bug Something isn't working label Feb 29, 2024
@shivammathur
Copy link
Owner

Fixed in 2.30.0.

Please try running the workflow again.

@Lewiscowles1986
Copy link
Author

@Lewiscowles1986
Copy link
Author

Lewiscowles1986 commented Mar 2, 2024

I'm so curious looking at that non-build script change in how it fixed this 😂 . Found it

4f6ab99 this is the actual commit I think. So homebrew must have been a bit messed up, simplifying fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants