Skip to content

Commit

Permalink
Remove php extrensions
Browse files Browse the repository at this point in the history
  • Loading branch information
defser committed Sep 18, 2021
1 parent 1b04528 commit 042bc9d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 29 deletions.
23 changes: 0 additions & 23 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,29 +16,6 @@ jobs:
sudo apt update -y &&
sudo apt install -y libfreetype6-dev libjpeg62-turbo-dev libmcrypt-dev libpng-dev libgmp-dev re2c libmhash-dev libmcrypt-dev file zlib1g-dev &&
sudo ln -s /usr/include/x86_64-linux-gnu/gmp.h /usr/local/include/
- run: mkdir ./php-ext-cache/
- restore_cache:
keys:
- extensions-v1-{{ checksum ".circleci/scripts/install-php-extensions.sh" }}
- extensions-v1-
- run:
name: Copying restored extensions cache into extensions directory
command: sudo cp -R ./php-ext-cache/. /usr/local/lib/php/extensions/no-debug-non-zts-20190902/
- run:
name: Install Extensions (if not cached)
command: |
ls -al /usr/local/include/php/
if [ true || ! -f /usr/local/lib/php/extensions/no-debug-non-zts-20190902/mcrypt.so ]; then
.circleci/scripts/install-php-extensions.sh;
fi
ls -al /usr/local/include/php/
- run:
name: Copying extensions to temp directory for cache
command: sudo cp -R /usr/local/lib/php/extensions/no-debug-non-zts-20190902/* ./php-ext-cache/
- save_cache:
key: extensions-v1-{{ checksum ".circleci/scripts/install-php-extensions.sh" }}
paths:
- ./php-ext-cache/
- php/install-composer:
install-version: 2.1.0
Expand Down
6 changes: 0 additions & 6 deletions .circleci/scripts/install-php-extensions.sh

This file was deleted.

0 comments on commit 042bc9d

Please sign in to comment.