[SUS-128] - Add php 8.5 support to shadow #36
Workflow file for this run
This file contains hidden or 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
| name: Shadow Extension Build & Test | |
| on: | |
| push: | |
| branches: [ main, master ] | |
| pull_request: | |
| branches: [ main, master ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| php-version: ['8.2', '8.3', '8.4', '8.5'] | |
| name: PHP ${{ matrix.php-version }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Build and test PHP extension (PHP ${{ matrix.php-version }}) | |
| run: | | |
| docker build -t php-shadow-extension-${{ matrix.php-version }} . --progress=plain \ | |
| --build-arg PHP_VERSION=${{ matrix.php-version }} | |
| - name: Verify extension loaded | |
| run: | | |
| docker run --rm php-shadow-extension-${{ matrix.php-version }} php -v | |
| docker run --rm php-shadow-extension-${{ matrix.php-version }} php -m | grep shadow | |
| - name: Archive test results | |
| if: always() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: test-results-php-${{ matrix.php-version }} | |
| path: | | |
| /var/task/shadow/*.out | |
| /var/task/shadow/*.diff | |
| retention-days: 7 |