PHPC-2647, PHPC-2715: Fix all possible build configurations (standalone vs. in-tree, in-source vs. out-of-source) #2632
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: "Coding Standards" | |
| on: | |
| pull_request: | |
| branches: | |
| - "v*.*" | |
| - "feature/*" | |
| push: | |
| branches: | |
| - "v*.*" | |
| - "feature/*" | |
| env: | |
| PHP_VERSION: "8.1" | |
| jobs: | |
| coding-standards: | |
| name: "Coding Standards" | |
| runs-on: "ubuntu-24.04" | |
| steps: | |
| - name: "Checkout" | |
| uses: "actions/checkout@v6" | |
| with: | |
| submodules: true | |
| - name: "Install PHP" | |
| uses: "shivammathur/setup-php@v2" | |
| with: | |
| php-version: "${{ env.PHP_VERSION }}-debug" | |
| - name: "Configure driver" | |
| run: .github/workflows/configure.sh | |
| - name: "Run clang-format" | |
| run: "make format-check" |