Skip to content

Commit

Permalink
Add numpower to the GitHub workflow pipeline (#331)
Browse files Browse the repository at this point in the history
* chore: add NumPower to workflow pipeline.

* chore: install openbla.

* chore: install openblas from apt repo.
  • Loading branch information
tanmayk authored Aug 19, 2024
1 parent 15726a4 commit 37730cb
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,21 @@ jobs:
extensions: svm, mbstring, gd, fileinfo, swoole
ini-values: memory_limit=-1

- name: Install OpenBLAS
run: |
apt-get update -q
apt-get install -qy libopenblas-dev
- name: Install NumPower
run: |
git clone https://github.com/NumPower/numpower.git
cd numpower
phpize
./configure
make
make install
echo "extension=ndarray.so" >> $(php -i | grep "Loaded Configuration File" | sed -e "s|.*=>\s*||")
- name: Validate composer.json
run: composer validate

Expand Down

0 comments on commit 37730cb

Please sign in to comment.