Skip to content

Commit

Permalink
Build phar in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
lyrixx committed Aug 31, 2021
1 parent 6375741 commit 601f1c2
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
File renamed without changes.
30 changes: 30 additions & 0 deletions .github/workflows/phar.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Compile PHAR

on:
push:
branches: [ main ]
pull_request:

jobs:
build:

runs-on: ubuntu-latest
strategy:
matrix:
php-versions: ['7.2', '7.3', '7.4', '8.0']

steps:
- uses: actions/checkout@v2

- name: Setup PHP
uses: shivammathur/setup-php@2.13.0
with:
php-version: ${{ matrix.php-versions }}

- name: Install dependencies
run: composer install --prefer-dist --no-progress
working-directory: tools/phar

- name: Compile phar
run: vendor/bin/box compile
working-directory: tools/phar

0 comments on commit 601f1c2

Please sign in to comment.