-
Notifications
You must be signed in to change notification settings - Fork 53
43 lines (41 loc) · 1.07 KB
/
test-laravel.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
40
41
42
43
name: test-laravel
on:
push:
branches:
- laravel
jobs:
test-linux:
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
php: [8.2, 8.3, 8.4]
steps:
- uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: "${{ matrix.php }}"
extensions: dom, curl, libxml, mbstring, zip
tools: composer:v2
coverage: none
- name: Show machine information
run: |
date
env
uname -a
ulimit -a
php -v
php --ini
ls -al
pwd
echo "`git log -20 --pretty --oneline`"
echo "`git log -10 --stat --pretty --oneline`"
sudo apt-get upgrade -y && sudo apt-get update -y
sudo apt-get install -y libcurl4-openssl-dev
- name: Run simple-compile-on-github.sh
run: |
sudo ${{runner.workspace}}/ext-openswoole/ci/simple-compile-on-github.sh
- name: Execute Laravel Octane tests
run: |
sudo ${{runner.workspace}}/ext-openswoole/ci/test-laravel.sh