mirror of
https://github.com/danog/MadelineProto.git
synced 2025-01-22 12:31:15 +01:00
Test
This commit is contained in:
parent
ed887b2720
commit
cdafa6028d
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
@ -6,13 +6,7 @@ jobs:
|
||||
strategy:
|
||||
matrix:
|
||||
php:
|
||||
- '8.0'
|
||||
- '7.4'
|
||||
- '7.3'
|
||||
- '7.2'
|
||||
- '7.1'
|
||||
- '7.0'
|
||||
- '5.6'
|
||||
name: PHP ${{ matrix.php }} build
|
||||
env:
|
||||
PHP_CS_FIXER_IGNORE_ENV: 1
|
||||
@ -36,4 +30,4 @@ jobs:
|
||||
|
||||
- name: Build
|
||||
run: |
|
||||
tests/makephar.sh
|
||||
tests/makephar.sh
|
||||
|
@ -41,6 +41,8 @@ sudo apt-get install php8.0-cli php8.0-mbstring php8.0-curl php8.0-xml -y
|
||||
|
||||
alias composer="php8.0 $(which composer)"
|
||||
|
||||
php8.0 -v
|
||||
|
||||
# Install
|
||||
echo '{
|
||||
"name": "danog/madelineprototests",
|
||||
@ -67,7 +69,6 @@ echo '{
|
||||
}
|
||||
]
|
||||
}' > composer.json
|
||||
composer config platform.php "8.0"
|
||||
composer clearcache
|
||||
composer update
|
||||
composer require amphp/mysql
|
||||
|
Loading…
x
Reference in New Issue
Block a user