-
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.
- build against PHP nightly on PR and daily schedule - use setup-php for linux builds (which drops Alpine builds)
- Loading branch information
Showing
2 changed files
with
45 additions
and
13 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,30 @@ | ||
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 and test | ||
env: | ||
TEST_PHP_ARGS: "-q" | ||
run: | | ||
phpize | ||
./configure | ||
make | ||
make test TESTS=--show-diff |