1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-12 15:07:21 +01:00
MadelineProto/.github/workflows/build.yml

40 lines
853 B
YAML
Raw Normal View History

2021-03-30 21:18:38 +02:00
name: build
2021-03-30 21:00:33 +02:00
on: [push]
jobs:
run:
runs-on: ubuntu-latest
strategy:
matrix:
php:
2021-03-30 23:13:54 +02:00
- '8.0'
- '7.4'
- '7.3'
- '7.2'
- '7.1'
2021-03-30 21:20:36 +02:00
- '7.0'
2021-03-30 23:13:54 +02:00
- '5.6'
2021-03-30 21:18:38 +02:00
name: PHP ${{ matrix.php }} build
2021-03-30 21:00:33 +02:00
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
2021-03-30 23:13:54 +02:00
- name: Wait for packagist
run: |
tests/waitPackagist.php
2021-03-30 21:00:33 +02:00
- name: Build
run: |
2021-03-30 21:35:07 +02:00
tests/makephar.sh