-
Notifications
You must be signed in to change notification settings - Fork 68
658: PHP 8.6 support #667
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
base: 1.5.x
Are you sure you want to change the base?
658: PHP 8.6 support #667
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -21,6 +21,7 @@ jobs: | |
| - '8.3' | ||
| - '8.4' | ||
| - '8.5' | ||
| - '8.6' | ||
| steps: | ||
| - name: Setup PHP | ||
| uses: shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240 #2.37.2 | ||
|
|
@@ -121,6 +122,7 @@ jobs: | |
| - '8.3' | ||
| - '8.4' | ||
| - '8.5' | ||
| #- '8.6' # @todo bundled repo doesn't support non-stable PHP versions | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. tracking todo |
||
| steps: | ||
| - name: "Purge built-in PHP version" | ||
| run: | | ||
|
|
@@ -160,8 +162,15 @@ jobs: | |
| libzip-dev | ||
| - name: "Set php-src download URL" | ||
| run: | | ||
| DIST_URL=`curl -fsSL "https://www.php.net/releases/index.php?json&max=1&version=${{ matrix.php-versions }}" | jq -r '.[].source[]|select(.filename|endswith(".gz")).filename'` | ||
| echo "php_src_download_url=https://www.php.net/distributions/$DIST_URL" >> $GITHUB_ENV | ||
| if [[ "${{ matrix.php-versions }}" == *-dev ]]; then | ||
| VERSION="${{ matrix.php-versions }}" | ||
| VERSION="${VERSION%-dev}" | ||
| DIST_URL=`curl -fsSL "https://www.php.net/pre-release-builds.php?format=json" | jq -r --arg v "$VERSION" 'to_entries[] | select(.key | startswith($v)) | .value.release.files.gz.path'` | ||
| echo "php_src_download_url=$DIST_URL" >> $GITHUB_ENV | ||
| else | ||
| DIST_URL=`curl -fsSL "https://www.php.net/releases/index.php?json&max=1&version=${{ matrix.php-versions }}" | jq -r '.[].source[]|select(.filename|endswith(".gz")).filename'` | ||
| echo "php_src_download_url=https://www.php.net/distributions/$DIST_URL" >> $GITHUB_ENV | ||
| fi | ||
| - name: "Install PHP ${{ matrix.php-versions }}" | ||
| env: | ||
| php_src_download_url: ${{ env.php_src_download_url }} | ||
|
|
@@ -220,6 +229,7 @@ jobs: | |
| - '8.3' | ||
| - '8.4' | ||
| - '8.5' | ||
| - '8.6-dev' | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. failing because the test image deps on xdebug/xdebug which doesn't exist for 8.6 (yet) https://github.com/php/pie/actions/runs/29113092108/job/86429844062#step:6:2673 that said, in theory we could remove that requirement, but it is useful for local debugging 🤔
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. FWIW I had similar issues in the past on my testing images when trying to install this, but with PIE I can now do
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Hm; yeah I did try this, but I realised, for 8.5 I had disabled the behaviour tests because there's a few other changes that would be needed. Think I'll just not run them for 8.6 for now, and come back to it once stable or have more time :D |
||
| steps: | ||
| - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 #v7.0.0 | ||
| with: | ||
|
|
||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -15,4 +15,5 @@ enum WindowsCompiler | |
| case VC15; | ||
| case VS16; | ||
| case VS17; | ||
| case VS18; | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| only a test file |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| only a test file |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
needs test ext to be released with 8.6, as Windows builds don't exist for 8.6 yet
see asgrim/example-pie-extension#13
failing tests - https://github.com/php/pie/actions/runs/29113092108/job/86429844134#step:7:32