Skip to content

Commit 37730cb

Browse files
authored
Add numpower to the GitHub workflow pipeline (#331)
* chore: add NumPower to workflow pipeline. * chore: install openbla. * chore: install openblas from apt repo.
1 parent 15726a4 commit 37730cb

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/ci.yml

+15
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,21 @@ jobs:
2323
extensions: svm, mbstring, gd, fileinfo, swoole
2424
ini-values: memory_limit=-1
2525

26+
- name: Install OpenBLAS
27+
run: |
28+
apt-get update -q
29+
apt-get install -qy libopenblas-dev
30+
31+
- name: Install NumPower
32+
run: |
33+
git clone https://github.com/NumPower/numpower.git
34+
cd numpower
35+
phpize
36+
./configure
37+
make
38+
make install
39+
echo "extension=ndarray.so" >> $(php -i | grep "Loaded Configuration File" | sed -e "s|.*=>\s*||")
40+
2641
- name: Validate composer.json
2742
run: composer validate
2843

0 commit comments

Comments
 (0)