Skip to content

Commit b5369ad

Browse files
committed
run CI jobs on MacOS
1 parent 7f0913a commit b5369ad

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

.github/workflows/ci.yml

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ jobs:
44
ubuntu:
55
strategy:
66
matrix:
7-
version: ["7.2", "7.3", "7.4", "8.0", "8.1", "8.2"]
7+
version: ["7.2", "7.3", "7.4", "8.0", "8.1", "8.2"]
88
runs-on: ubuntu-latest
99
steps:
1010
- name: Checkout php-bsdiff
@@ -21,3 +21,23 @@ jobs:
2121
run: make
2222
- name: test
2323
run: make test TESTS="--show-diff tests"
24+
macos:
25+
strategy:
26+
matrix:
27+
version: ["7.2", "7.3", "7.4", "8.0", "8.1", "8.2"]
28+
runs-on: macos-latest
29+
steps:
30+
- name: Checkout php-bsdiff
31+
uses: actions/checkout@v2
32+
- name: Setup PHP
33+
uses: shivammathur/setup-php@v2
34+
with:
35+
php-version: ${{matrix.version}}
36+
- name: phpize
37+
run: phpize
38+
- name: configure
39+
run: ./configure --with-bz2=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr
40+
- name: make
41+
run: make
42+
- name: test
43+
run: make test TESTS="--show-diff tests"

0 commit comments

Comments
 (0)