Skip to content

Commit 34dd9bd

Browse files
committed
add GitHub Actions jobs
1 parent cb1d6cd commit 34dd9bd

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/config.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Build and Test
2+
on: [push, pull_request]
3+
jobs:
4+
ubuntu:
5+
strategy:
6+
matrix:
7+
version: ["7.4", "8.0", "8.1", "8.2"]
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Checkout php-bsdiff
11+
uses: actions/checkout@v2
12+
- name: Setup PHP
13+
uses: shivammathur/setup-php@v2
14+
with:
15+
php-version: ${{matrix.version}}
16+
- name: phpize
17+
run: phpize
18+
- name: configure
19+
run: ./configure
20+
- name: make
21+
run: make
22+
- name: test
23+
run: |
24+
make test TESTS="--show-diff tests"

0 commit comments

Comments
 (0)