-
-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (37 loc) · 1006 Bytes
/
test.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: run-swoole-test
on: [push, pull_request]
jobs:
run-swoole-test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
php: [7.1, 7.2, 7.3, 7.4]
steps:
- uses: actions/checkout@v1
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: "${{ matrix.php }}"
- 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`"
- name: Run pecl-install.sh
run: |
sudo ${{runner.workspace}}/v4.4-lts/travis/pecl-install.sh
- name: Run simple-compile-on-github.sh
run: |
sudo ${{runner.workspace}}/v4.4-lts/travis/simple-compile-on-github.sh
- name: Run Swoole test
run: |
export TRAVIS_BRANCH=${GITHUB_REF##*/}
${{runner.workspace}}/v4.4-lts/travis/route.sh