-
-
Notifications
You must be signed in to change notification settings - Fork 402
Closed
Labels
bugSomething isn't workingSomething isn't workingnode imagesIssue on to shivammathur/node imagesIssue on to shivammathur/node imagesself-hosted
Description
Describe the bug
At some point in the last three months, bcmath and gmp stopped working in our workflow with no change to the workflow itself. We were installing PHP manually with spc, but the same things happens when switching back to setup-php. See the last successful run vs. a current run.
As you can see, we are getting errors like "bcmath Could not install bcmath on PHP 7.3.30" with no further information.
Version
- I have checked releases, and the bug exists in the latest patch version of
v1orv2. -
v2 -
v1
Runners
- GitHub Hosted
- Self Hosted
Operating systems
ubuntu-latest
PHP versions
7.2 - 8.0.
To Reproduce
strategy:
matrix:
arch: ["amd64", "i386"]
operating-system: [ubuntu-latest]
php-versions: ['7.2', '7.3', '7.4', '8.0']
php-extensions: ['bcmath', 'gmp']
steps:
- name: Install PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
extensions: "mbstring, intl, ${{ matrix.php-extensions }}"
tools: "composer, phpize"
coverage: xdebug
Expected behavior
bcmath and gmp are installed when appropriate.
Screenshots/Logs
See above.
Additional context
Are you willing to submit a PR?
If I had any idea what the bug was, perhaps.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingnode imagesIssue on to shivammathur/node imagesIssue on to shivammathur/node imagesself-hosted
