Update CI

This commit is contained in:
Waqar Ahmed Khan
2022-11-03 12:41:37 -07:00
parent 541b3c8952
commit 20214a9658
+20 -20
View File
@@ -38,13 +38,13 @@ jobs:
- name: Build for PHP 5.5 - name: Build for PHP 5.5
env: env:
CC: clang CC: clang -Wno-error
CXX: clang++ CXX: clang++ -Wno-error
run: | run: |
phpize phpize
./configure ./configure
make make
make test
php-linux-x64: php-linux-x64:
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy:
@@ -71,33 +71,33 @@ jobs:
with: with:
submodules: recursive submodules: recursive
- name: Install ancient PHPUnit
run: composer require --dev --ignore-platform-reqs phpunit/phpunit "4.8.36"
- name: Install dependencies - name: Install dependencies
run: composer update --no-interaction run: composer update --no-interaction
- name: Run tests - name: Run tests
env: env:
CC: clang CC: clang -Wno-error
CXX: clang++ CXX: clang++ -Wno-error
run: | run: |
phpize phpize
./configure ./configure
make make
make test make test
linux-arm:
name: ARM (${{ matrix.arch }})
# linux-arm: runs-on: ubuntu-latest
# name: ARM (${{ matrix.arch }}) strategy:
# runs-on: ubuntu-latest matrix:
# strategy: arch: [armv6, armv7, arm64]
# matrix: steps:
# arch: [armv6, armv7, arm64] - name: Build ${{ env.PACKAGE_NAME }}
# steps: run: |
# - name: Build ${{ env.PACKAGE_NAME }} python3 -c "from urllib.request import urlretrieve; urlretrieve('${{ env.BUILDER_HOST }}/${{ env.BUILDER_SOURCE }}/${{ env.BUILDER_VERSION }}/builder.pyz?run=${{ env.RUN }}', 'builder')"
# run: | chmod a+x builder
# python3 -c "from urllib.request import urlretrieve; urlretrieve('${{ env.BUILDER_HOST }}/${{ env.BUILDER_SOURCE }}/${{ env.BUILDER_VERSION }}/builder.pyz?run=${{ env.RUN }}', 'builder')" ./builder build -p ${{ env.PACKAGE_NAME }} --target=linux-${{ matrix.arch }} --spec=downstream
# chmod a+x builder
# ./builder build -p ${{ env.PACKAGE_NAME }} --target=linux-${{ matrix.arch }} --spec=downstream
# windows-vc16: # windows-vc16:
# runs-on: windows-latest # runs-on: windows-latest
# strategy: # strategy: