-
Notifications
You must be signed in to change notification settings - Fork 56
39 lines (37 loc) · 1.25 KB
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: CI
on: [push, pull_request]
jobs:
build-php:
name: Build PHP
runs-on: ubuntu-20.04
continue-on-error: ${{ matrix.experimental }}
strategy:
max-parallel: 6
fail-fast: false
matrix:
typo3: ['11', '12', '13']
php: ['php8.2']
experimental: [false]
include:
- typo3: '11'
php: 'php8.0'
experimental: false
steps:
- uses: actions/checkout@v1
- name: Set up PHP Version
run: |
sudo update-alternatives --set php /usr/bin/${{ matrix.php }}
php -v
- name: Update Composer
run: |
sudo composer self-update
composer --version
- name: Install
run: |
composer require typo3/cms-core:^${{ matrix.typo3 }} typo3/cms-backend:^${{ matrix.typo3 }} typo3/cms-extbase:^${{ matrix.typo3 }} typo3/cms-fluid:^${{ matrix.typo3 }} typo3/cms-frontend:^${{ matrix.typo3 }} typo3/cms-install:^${{ matrix.typo3 }} typo3/cms-dashboard:^${{ matrix.typo3 }} --no-progress
- name: Lint
run: composer test:php:lint
- name: CGL
run: composer cgl
- name: PHPStan
run: php -d memory_limit=-1 vendor/bin/phpstan analyse -c .Build/phpstan.cms${{ matrix.typo3 }}.neon