mirror of
https://github.com/awslabs/aws-crt-php.git
synced 2026-08-18 01:57:13 +00:00
Made PHP extension compile with openssl by default (#41)
* Made PHP extension compile with openssl * Use catchsegv to dump a callstack * Updated to use aws_crt_crypto_share() * Much faster builds by making cmake parallel if supported * Make sure all CRT threads shutdown prior to cleanup * USE_OPENSSL should be the path to openssldir * Updated to aws-crt-ffi v0.2.4
This commit is contained in:
@@ -37,14 +37,14 @@ jobs:
|
||||
- name: Install depedencies
|
||||
run: composer update --no-interaction
|
||||
|
||||
- name: Run tests
|
||||
- name: Build for PHP 5.5
|
||||
env:
|
||||
CC: clang
|
||||
CXX: clang++
|
||||
run: |
|
||||
phpize
|
||||
./configure
|
||||
make test
|
||||
make
|
||||
|
||||
php-linux-x64:
|
||||
runs-on: ubuntu-latest
|
||||
@@ -60,12 +60,30 @@ jobs:
|
||||
- "7.4"
|
||||
- "8.0"
|
||||
steps:
|
||||
- name: PHP ${{ matrix.version}} Extension
|
||||
run: |
|
||||
echo "${{ secrets.GITHUB_TOKEN }}" | docker login docker.pkg.github.com -u awslabs --password-stdin
|
||||
export DOCKER_IMAGE=docker.pkg.github.com/awslabs/aws-crt-builder/aws-crt-php${{ matrix.version }}-linux-x64:${{ env.BUILDER_VERSION }}
|
||||
docker pull $DOCKER_IMAGE
|
||||
docker run --env GITHUB_REF --env LC_ALL=C.UTF-8 $DOCKER_IMAGE --version=${{env.BUILDER_VERSION}} build -p ${{ env.PACKAGE_NAME }} --spec=downstream --skip-install
|
||||
- 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: Install depedencies
|
||||
run: composer update --no-interaction
|
||||
|
||||
- name: Run tests
|
||||
env:
|
||||
CC: clang
|
||||
CXX: clang++
|
||||
run: |
|
||||
phpize
|
||||
./configure
|
||||
make
|
||||
make test
|
||||
|
||||
|
||||
# linux-arm:
|
||||
|
||||
@@ -16,3 +16,14 @@ jobs:
|
||||
with:
|
||||
# List of extensions to check
|
||||
extensions: c
|
||||
|
||||
check-submodules:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout Source
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
submodules: true
|
||||
fetch-depth: 0
|
||||
- name: Check Submodules
|
||||
uses: awslabs/aws-crt-builder/.github/actions/check-submodules@main
|
||||
Reference in New Issue
Block a user