Skip to content

Commit

Permalink
fix: Updated CI file
Browse files Browse the repository at this point in the history
  • Loading branch information
henrique-borba committed Jul 25, 2023
1 parent 62fae56 commit b5c6e97
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:

- name: Compile PHP
run: |
apt-get install -y wget
sudo apt-get install -y wget
wget -O php.tar.gz https://www.php.net/distributions/php-8.2.0.tar.gz
tar -xf php.tar.gz --strip-components=1
rm php.tar.gz
Expand All @@ -41,16 +41,16 @@ jobs:
--with-xpm \
--with-freetype \
--with-zip \
&& make -j$(nproc) \
&& make install
&& sudo make -j$(nproc) \
&& sudo make install
- name: Install extension
run: |
cd ${{ github.workspace }}
${{ github.workspace }}/php/bin/phpize
./configure
make install
echo "extension=ndarray.so" > ${{ github.workspace }}/php/etc/conf.d/ndarray.ini
sudo make install
sudo echo "extension=ndarray.so" > ${{ github.workspace }}/php/etc/conf.d/ndarray.ini
- name: Run Tests
run: |
Expand Down

0 comments on commit b5c6e97

Please sign in to comment.