From 37730cb9a9f3574f267a26c6019ca8cb0e8fa9c3 Mon Sep 17 00:00:00 2001 From: Tanmay Khedekar Date: Mon, 19 Aug 2024 22:53:36 +0530 Subject: [PATCH] Add numpower to the GitHub workflow pipeline (#331) * chore: add NumPower to workflow pipeline. * chore: install openbla. * chore: install openblas from apt repo. --- .github/workflows/ci.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 56afda43d..01304f1a3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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