-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix 8.4 segfaults, test against PHP nightly (#153)
* test against PHP nightly - build against PHP nightly on PR and daily schedule - use setup-php for linux builds (which drops Alpine builds) * fix 8.4 segfaults * fix 32bit tests - remove the ability to pass complex items as attributes (since the spec already disallows them, they'd get dropped later anyway) - update alpine dockerfile to also support 32bit builds, which enables local testing against a 32bit platform
- Loading branch information
Showing
6 changed files
with
95 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: Build and test against PHP nightly | ||
|
||
on: | ||
push: | ||
pull_request: | ||
branches: [ main ] | ||
schedule: | ||
- cron: '37 5 * * *' | ||
|
||
defaults: | ||
run: | ||
working-directory: ext | ||
|
||
jobs: | ||
nightly: | ||
if: github.repository == 'open-telemetry/opentelemetry-php-instrumentation' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: shivammathur/setup-php@v2 | ||
with: | ||
php-version: 8.4 | ||
- name: Build | ||
run: | | ||
phpize | ||
./configure | ||
make | ||
- name: Test | ||
env: | ||
TEST_PHP_ARGS: "-q" | ||
run: make test TESTS=--show-diff |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters