diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 94ecff3..a113849 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -35,8 +35,8 @@ jobs: shell: cmd strategy: matrix: - version: ["7.4", "8.0", "8.1", "8.2", "8.3"] - arch: [x64, x86] + version: ["8.2", "8.3"] + arch: [x64] ts: [ts] runs-on: windows-2019 steps: @@ -59,8 +59,18 @@ jobs: - name: phpize run: phpize - name: configure - run: configure --enable-mailparse --with-prefix=${{steps.setup-php.outputs.prefix}} + run: configure --enable-test-ini --enable-mailparse --with-prefix=${{steps.setup-php.outputs.prefix}} - name: make run: nmake + - name: patch test ini + run: | + if ("${{matrix.arch}}"=="x64") ( + set my_ini_file=x64\Release_TS\tmp-php.ini + ) else ( + set my_ini_file=Release_TS\tmp-php.ini + ) + set mbstring=${{steps.setup-php.outputs.prefix}}\ext\php_mbstring.dll + sed -i "1s/^/extension=%mbstring:\=\\\%\n/" %my_ini_file% + type %my_ini_file% - name: test - run: nmake test TESTS="-d extension=${{steps.setup-php.outputs.prefix}}\ext\php_mbstring.dll --show-diff tests" + run: nmake test TESTS="--show-diff tests"