Skip to content

Commit a9316da

Browse files
authored
Create ci.yml
1 parent 4a20f82 commit a9316da

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

.github/workflows/ci.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: Rust
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ "**" ]
8+
9+
env:
10+
CARGO_TERM_COLOR: always
11+
RUST_BACKTRACE: 1
12+
RUST_LOG: debug
13+
RUSTFLAGS: "-D warnings"
14+
15+
jobs:
16+
all:
17+
name: All
18+
strategy:
19+
fail-fast: false
20+
matrix:
21+
os:
22+
- ubuntu-latest
23+
php-version:
24+
- xx
25+
26+
runs-on: ${{ matrix.os }}
27+
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+
mkdir target
33+
./buildconf --force
34+
./configure --prefix=`pwd`/target --enable-debug
35+
make -j
36+
make install
37+
- name: Checkout
38+
uses: actions/checkout@v2
39+

0 commit comments

Comments
 (0)