mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-13 14:47:26 +01:00
30 lines
662 B
YAML
30 lines
662 B
YAML
name: build
|
|
on: [push]
|
|
jobs:
|
|
run:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
php:
|
|
- '7.0'
|
|
name: PHP ${{ matrix.php }} build
|
|
env:
|
|
PHP_CS_FIXER_IGNORE_ENV: 1
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v2
|
|
with:
|
|
ssh-key: ${{ secrets.DEPLOY_KEY }}
|
|
|
|
- name: Setup PHP ${{ matrix.php }}
|
|
uses: shivammathur/setup-php@v2
|
|
with:
|
|
php-version: ${{ matrix.php }}
|
|
extensions: mbstring, intl, sockets, gmp, curl, xml, json
|
|
coverage: none
|
|
ini-values: phar.readonly=0
|
|
|
|
- name: Build
|
|
run: |
|
|
tests/makephar.sh
|