Skip to content

documentation updates (#100) #258

documentation updates (#100)

documentation updates (#100) #258

Workflow file for this run

name: Build and test
on:
push:
pull_request:
branches: [ main ]
defaults:
run:
working-directory: ext
jobs:
php:
runs-on: ubuntu-latest
name: linux
strategy:
fail-fast: false
matrix:
php: ['8.0', '8.1', '8.2']
os: ['debian', 'alpine']
container:
image: ghcr.io/open-telemetry/opentelemetry-php-instrumentation/php:${{ matrix.php }}-${{ matrix.os }}-debug
steps:
- uses: actions/checkout@v3
- name: Build
run: |
phpize
./configure
make
- name: Test
env:
TEST_PHP_ARGS: "-q" #do not try to submit failures
run: make test TESTS=--show-diff
windows:
runs-on: windows-2019
continue-on-error: false
strategy:
fail-fast: false
matrix:
php: ['8.0', '8.1', '8.2']
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install PHP ${{ matrix.php }}
uses: cmb69/[email protected]
id: setup-php-sdk
with:
version: ${{ matrix.php }}
arch: x64
ts: nts
- name: Install dependencies
uses: ilammy/msvc-dev-cmd@v1
with:
arch: x64
toolset: ${{ steps.setup-php-sdk.outputs.toolset }}
- name: Build
run: |
phpize
./configure --enable-opentelemetry --with-prefix=${{ steps.setup-php-sdk.outputs.prefix }}
nmake
- name: Test
env:
TEST_PHP_ARGS: "-q"
run: nmake test TESTS=--show-diff