mirror of
https://github.com/awslabs/aws-crt-php.git
synced 2026-08-18 01:57:13 +00:00
what's the extension available
This commit is contained in:
+63
-61
@@ -14,73 +14,73 @@ env:
|
||||
RUN: ${{ github.run_id }}-${{ github.run_number }}
|
||||
|
||||
jobs:
|
||||
php-5_5-linux-x64:
|
||||
name: php-linux-x64 (5.5)
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Setup PHP with Xdebug
|
||||
uses: shivammathur/setup-php@v2
|
||||
with:
|
||||
coverage: xdebug
|
||||
php-version: 5.5
|
||||
ini-values: xdebug.overload_var_dump=0, memory_limit=4G, phar.readonly=false
|
||||
# php-5_5-linux-x64:
|
||||
# name: php-linux-x64 (5.5)
|
||||
# runs-on: ubuntu-latest
|
||||
# steps:
|
||||
# - name: Setup PHP with Xdebug
|
||||
# uses: shivammathur/setup-php@v2
|
||||
# with:
|
||||
# coverage: xdebug
|
||||
# php-version: 5.5
|
||||
# ini-values: xdebug.overload_var_dump=0, memory_limit=4G, phar.readonly=false
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
submodules: recursive
|
||||
# - name: Checkout
|
||||
# uses: actions/checkout@v2
|
||||
# with:
|
||||
# submodules: recursive
|
||||
|
||||
- name: Build for PHP 5.5
|
||||
env:
|
||||
CC: clang
|
||||
CXX: clang++
|
||||
run: |
|
||||
phpize
|
||||
./configure
|
||||
make
|
||||
# - name: Build for PHP 5.5
|
||||
# env:
|
||||
# CC: clang
|
||||
# CXX: clang++
|
||||
# run: |
|
||||
# phpize
|
||||
# ./configure
|
||||
# make
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
|
||||
php composer-setup.php
|
||||
php -c php.ini composer.phar require --dev --ignore-platform-reqs phpunit/phpunit "4.8.36"
|
||||
php -c php.ini composer.phar update --no-interaction
|
||||
# - name: Install dependencies
|
||||
# run: |
|
||||
# php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
|
||||
# php composer-setup.php
|
||||
# php -c php.ini composer.phar require --dev --ignore-platform-reqs phpunit/phpunit "4.8.36"
|
||||
# php -c php.ini composer.phar update --no-interaction
|
||||
|
||||
php-linux-x64:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
version:
|
||||
- "5.6"
|
||||
- "7.0"
|
||||
- "7.1"
|
||||
- "7.2"
|
||||
- "7.3"
|
||||
- "7.4"
|
||||
- "8.0"
|
||||
steps:
|
||||
- name: Setup PHP with Xdebug
|
||||
uses: shivammathur/setup-php@v2
|
||||
with:
|
||||
coverage: xdebug
|
||||
php-version: ${{matrix.version}}
|
||||
ini-values: xdebug.overload_var_dump=0, memory_limit=4G, phar.readonly=false
|
||||
# php-linux-x64:
|
||||
# runs-on: ubuntu-latest
|
||||
# strategy:
|
||||
# fail-fast: false
|
||||
# matrix:
|
||||
# version:
|
||||
# - "5.6"
|
||||
# - "7.0"
|
||||
# - "7.1"
|
||||
# - "7.2"
|
||||
# - "7.3"
|
||||
# - "7.4"
|
||||
# - "8.0"
|
||||
# steps:
|
||||
# - name: Setup PHP with Xdebug
|
||||
# uses: shivammathur/setup-php@v2
|
||||
# with:
|
||||
# coverage: xdebug
|
||||
# php-version: ${{matrix.version}}
|
||||
# ini-values: xdebug.overload_var_dump=0, memory_limit=4G, phar.readonly=false
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
submodules: recursive
|
||||
# - name: Checkout
|
||||
# uses: actions/checkout@v2
|
||||
# with:
|
||||
# submodules: recursive
|
||||
|
||||
- name: Run tests
|
||||
env:
|
||||
CC: clang
|
||||
CXX: clang++
|
||||
run: |
|
||||
phpize
|
||||
./configure
|
||||
make
|
||||
./dev-scripts/run_tests
|
||||
# - name: Run tests
|
||||
# env:
|
||||
# CC: clang
|
||||
# CXX: clang++
|
||||
# run: |
|
||||
# phpize
|
||||
# ./configure
|
||||
# make
|
||||
# ./dev-scripts/run_tests
|
||||
|
||||
# linux-arm:
|
||||
# name: ARM (${{ matrix.arch }})
|
||||
@@ -117,6 +117,8 @@ jobs:
|
||||
toolset: ${{steps.setup-php-sdk.outputs.toolset}}
|
||||
- name: Build ${{ env.PACKAGE_NAME }} + consumers
|
||||
run: |
|
||||
ls php-bin
|
||||
ls php-bin/ext
|
||||
phpize
|
||||
.\configure --with-prefix=${{steps.setup-php-sdk.outputs.prefix}} --enable-awscrt=shared --enable-cli --enable-openssl
|
||||
nmake
|
||||
|
||||
Reference in New Issue
Block a user