Skip to content

Commit

Permalink
Comment out steps for adding and checking the rar extension in macOS …
Browse files Browse the repository at this point in the history
…workflow
  • Loading branch information
ewilan-riviere committed Nov 21, 2024
1 parent 2ba0352 commit 89f285b
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/run-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,26 +36,26 @@ jobs:
- name: Install dependencies
run: composer install --prefer-dist --no-interaction

- name: Add rar extension
run: |
git clone https://github.com/cataphract/php-rar
cd php-rar
phpize
./configure
sudo make
sudo make install
pecl_path=$(pecl config-get ext_dir)
phpini_path=$(php -i | grep /.+/php.ini -oE)
sudo cp ./modules/rar.so $pecl_path
sudo echo "extension=rar.so" > $phpini_path
# - name: Add rar extension
# run: |
# git clone https://github.com/cataphract/php-rar
# cd php-rar
# phpize
# ./configure
# sudo make
# sudo make install
# pecl_path=$(pecl config-get ext_dir)
# phpini_path=$(php -i | grep /.+/php.ini -oE)
# sudo cp ./modules/rar.so $pecl_path
# sudo echo "extension=rar.so" > $phpini_path

- name: Create .env file
run: |
cp .env.example .env
shell: bash

- name: Check extension rar
run: php -m | grep rar
# - name: Check extension rar
# run: php -m | grep rar

- name: Check extension imagick
run: php -m | grep imagick
Expand Down

0 comments on commit 89f285b

Please sign in to comment.