From d3cbe39b68626fca6a462b2658210b3a7e4c03ba Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Thu, 8 Oct 2020 17:16:40 +0200 Subject: [PATCH] Run 32-bit tests --- .github/workflows/main.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5a4a7e4..498a6d9 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -4,22 +4,21 @@ on: push: jobs: run: + container: shivammathur/node:bionic-${{ matrix.tag }} runs-on: ${{ matrix.os }} strategy: matrix: os: [ubuntu-latest] + tag: ["amd64", "i386"] php-versions: ["7.0", "7.1", "7.2", "7.3", "7.4"] - name: PHP ${{ matrix.php-versions }} Test on ${{ matrix.os }} + name: PHP ${{ matrix.php-versions }} Test on ${{ matrix.os }} ${{ matrix.tag }} steps: - name: Checkout uses: actions/checkout@v2 - name: Setup PHP - uses: shivammathur/setup-php@v2 - with: - php-version: ${{ matrix.php-versions }} - extensions: mbstring, intl, sockets - coverage: xdebug + # Inputs to manual.sh are in this order - php-versions, extensions, ini-values, coverage, tools + run: curl -sL https://setup-php.com/manual.sh | bash -s ${{ matrix.php }} "mbstring, intl, sockets" "memory_limit=-1" "xdebug" - name: Check environment run: |