|
|
|
@ -17,23 +17,27 @@ jobs: |
|
|
|
|
fail-fast: false # Don't cancel all jobs if one fails. |
|
|
|
|
matrix: |
|
|
|
|
include: |
|
|
|
|
- name: 8.0 Optimized |
|
|
|
|
version: "8.0.5" |
|
|
|
|
version-short: "8.0" |
|
|
|
|
- name: 8.1 Optimized |
|
|
|
|
version: "8.1.14" |
|
|
|
|
version-short: "8.1" |
|
|
|
|
command: composer test \&\& composer test_c |
|
|
|
|
- name: 8.0 Debug |
|
|
|
|
version: 8.0.5-dbg |
|
|
|
|
version-short: "8.0" |
|
|
|
|
- name: 8.1 Debug |
|
|
|
|
version: 8.1.14-dbg |
|
|
|
|
version-short: "8.1" |
|
|
|
|
command: composer test \&\& composer test_c |
|
|
|
|
- name: 8.0 Memory Leak |
|
|
|
|
version: 8.0.5-dbg |
|
|
|
|
version-short: "8.0" |
|
|
|
|
- name: 8.1 Memory Leak |
|
|
|
|
version: 8.1.14-dbg |
|
|
|
|
version-short: "8.1" |
|
|
|
|
# Run specialized memory leak & multirequest tests. |
|
|
|
|
command: composer test_c \&\& tests/multirequest.sh \&\& tests/memory_leak_test.sh |
|
|
|
|
- name: 8.0 Valgrind |
|
|
|
|
version: 8.0.5-dbg |
|
|
|
|
version-short: "8.0" |
|
|
|
|
- name: 8.1 Valgrind |
|
|
|
|
version: 8.1.14-dbg |
|
|
|
|
version-short: "8.1" |
|
|
|
|
command: composer test_valgrind |
|
|
|
|
- name: 8.3 Optimized |
|
|
|
|
version: "8.3.1" |
|
|
|
|
version-short: "8.3" |
|
|
|
|
command: composer test \&\& composer test_c |
|
|
|
|
|
|
|
|
|
name: Linux ${{ matrix.name}} |
|
|
|
|
runs-on: ubuntu-latest |
|
|
|
@ -59,7 +63,7 @@ jobs: |
|
|
|
|
strategy: |
|
|
|
|
fail-fast: false # Don't cancel all jobs if one fails. |
|
|
|
|
matrix: |
|
|
|
|
version: ['8.0'] |
|
|
|
|
version: ['8.1'] |
|
|
|
|
suffix: [ '', '-zts'] |
|
|
|
|
test: ['test', 'test_c'] |
|
|
|
|
exclude: |
|
|
|
@ -74,7 +78,7 @@ jobs: |
|
|
|
|
name: Linux 32-bit ${{ matrix.version}}${{ matrix.suffix_name }}${{ matrix.test_name }} |
|
|
|
|
runs-on: ubuntu-latest |
|
|
|
|
env: |
|
|
|
|
image: us-docker.pkg.dev/protobuf-build/containers/test/linux/32bit@sha256:8275360dc5d676f3470872d79087901c0e4153453976bea908a92c82e8d209ea |
|
|
|
|
image: us-docker.pkg.dev/protobuf-build/containers/test/linux/32bit@sha256:836f2cedcfe351d9a30055076630408e61994fc7d783e8333a99570968990eeb |
|
|
|
|
steps: |
|
|
|
|
- name: Checkout pending changes |
|
|
|
|
uses: protocolbuffers/protobuf-ci/checkout@v2 |
|
|
|
@ -129,7 +133,7 @@ jobs: |
|
|
|
|
- name: Setup composer |
|
|
|
|
uses: protocolbuffers/protobuf-ci/composer-setup@v2 |
|
|
|
|
with: |
|
|
|
|
cache-prefix: php-8.0 |
|
|
|
|
cache-prefix: php-8.1 |
|
|
|
|
directory: php |
|
|
|
|
|
|
|
|
|
- name: Run tests |
|
|
|
@ -150,7 +154,7 @@ jobs: |
|
|
|
|
strategy: |
|
|
|
|
fail-fast: false # Don't cancel all jobs if one fails. |
|
|
|
|
matrix: |
|
|
|
|
version: ['8.2'] |
|
|
|
|
version: ['8.2', '8.3'] |
|
|
|
|
|
|
|
|
|
name: MacOS PHP ${{ matrix.version }} |
|
|
|
|
runs-on: macos-12 |
|
|
|
|