Skip to content

Commit 515167a

Browse files
committed
Update ci.yml
1 parent f458912 commit 515167a

File tree

1 file changed

+10
-15
lines changed

1 file changed

+10
-15
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Rust
1+
name: CI
22

33
on:
44
push:
@@ -13,28 +13,23 @@ env:
1313
RUSTFLAGS: "-D warnings"
1414

1515
jobs:
16-
all:
17-
name: All
16+
ci:
17+
name: CI
1818
strategy:
1919
fail-fast: false
2020
matrix:
2121
os:
2222
- ubuntu-latest
2323
php-version:
24-
- php-7.3.24
24+
- 7.3
25+
- 7.4
2526

2627
runs-on: ${{ matrix.os }}
2728
steps:
28-
- name: Install PHP
29-
run: |
30-
git clone https://github.com/php/php-src.git /tmp/php-${{ matrix.php-version }}
31-
cd /tmp/php-${{ matrix.php-version }}
32-
git checkout ${{ matrix.php-version }}
33-
mkdir target
34-
./buildconf --force
35-
./configure --prefix=`pwd`/target --enable-debug
36-
make -j
37-
make install
29+
- name: Setup PHP
30+
uses: shivammathur/setup-php@v2
31+
with:
32+
php-version: ${{ matrix.php-version }}
33+
3834
- name: Checkout
3935
uses: actions/checkout@v2
40-

0 commit comments

Comments
 (0)