MacOS Installer #252
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: MacOS Installer | |
| on: | |
| workflow_run: | |
| workflows: ["PHP-GLFW Tests"] | |
| types: | |
| - completed | |
| jobs: | |
| macos: | |
| runs-on: ${{ matrix.operating-system }} | |
| strategy: | |
| matrix: | |
| operating-system: ['macos-latest'] | |
| php-versions: ['8.1', '8.2', '8.3', '8.4', '8.5'] | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Setup PHP | |
| uses: shivammathur/setup-php@v2 | |
| with: | |
| php-version: ${{ matrix.php-versions }} | |
| coverage: xdebug | |
| tools: cs2pr | |
| - name: Run the installer | |
| run: php -r "copy('https://raw.githubusercontent.com/mario-deluna/php-glfw/master/install/macos-installer.php', 'phpglfw-installer.php');" && sudo php phpglfw-installer.php | |
| - name: Install PHPUnit | |
| run: composer install | |
| - name: Run PHPUnit | |
| run: php vendor/bin/phpunit --exclude-group=glfwinit |