Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/omars44/pecl-windows-deps-installer
Github Action: Install PECL dependencies via vcpkg
https://github.com/omars44/pecl-windows-deps-installer
github-action github-actions pecl pecl-extensions
Last synced: 13 days ago
JSON representation
Github Action: Install PECL dependencies via vcpkg
- Host: GitHub
- URL: https://github.com/omars44/pecl-windows-deps-installer
- Owner: omars44
- License: mit
- Created: 2023-11-04T07:42:34.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2023-11-17T10:22:47.000Z (about 1 year ago)
- Last Synced: 2024-11-18T02:13:02.681Z (3 months ago)
- Topics: github-action, github-actions, pecl, pecl-extensions
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PECL Windows Dependency Installer (vcpkg)
On top of supported pecl library dependencies (https://windows.php.net/downloads/php-sdk/deps/). If there is a missing dependency, then this action would be of help.
can be used in conjunction with https://github.com/derickr/setup-php-sdk
## Inputs
| Inputs | Required/Optional | Description | Default Value |
|-----------------|-------------------|-----------------------------------------------------------------------------|-------------------|
| cache-hit | Required | Whether the cache was hit. | N/A |
| libraries | Required | Libraries to install with vcpkg, comma-separated. | N/A |
| target-prefix | Optional | Target directory prefix where the dependencies will be installed. | `./../deps` |
| vcpkg-version | Optional | Specific version of vcpkg to use. | `latest` |## Example usage
```yaml
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout the code
uses: actions/checkout@v2- name: Cache vcpkg and libraries
id: cache-vcpkg
uses: actions/cache@v2
with:
path: |
vcpkg
vcpkg/installed
key: vcpkg-${{ hashFiles('**/vcpkg.json') }}
restore-keys: |
vcpkg-- name: Install dependencies with vcpkg
uses: omars44/pecl-windows-deps-installer@master
with:
cache-hit: ${{ steps.cache-vcpkg.outputs.cache-hit }}
libraries: 'zlib,libxml2'
arch: 'x64'
```