mirror of
https://github.com/danog/MadelineProto.git
synced 2024-11-30 04:08:59 +01:00
Add workflow
This commit is contained in:
parent
199fb66eb3
commit
e8864c769a
39
.github/workflows/build.yml
vendored
Normal file
39
.github/workflows/build.yml
vendored
Normal file
@ -0,0 +1,39 @@
|
||||
name: test
|
||||
on: [push]
|
||||
jobs:
|
||||
run:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
php:
|
||||
- 8.0
|
||||
- 7.4
|
||||
- 7.3
|
||||
- 7.2
|
||||
- 7.1
|
||||
- 7.0
|
||||
- 5.6
|
||||
name: PHP ${{ matrix.php }} Build on ${{ matrix.os }}
|
||||
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: Wait for packagist
|
||||
run: |
|
||||
tests/waitPackagist.php
|
||||
|
||||
- name: Build
|
||||
run: |
|
||||
tests/makephar.sh
|
Loading…
Reference in New Issue
Block a user