From d39d3dbafd6b3fc614314371b8f74661a562ae8b Mon Sep 17 00:00:00 2001 From: Michael Graeb Date: Thu, 10 Nov 2022 22:15:10 -0800 Subject: [PATCH] enable --- .github/workflows/ci.yml | 35 +++++++++++++++++++++++++++++++---- 1 file changed, 31 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c9d257a..df7eff9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -107,9 +107,6 @@ jobs: matrix: arch: [x64] # TODO: add x86 steps: - - uses: actions/checkout@v3 - with: - submodules: recursive - id: setup-php-sdk uses: cmb69/setup-php-sdk@v0.6 with: @@ -120,11 +117,41 @@ jobs: with: arch: ${{ matrix.arch }} toolset: ${{steps.setup-php-sdk.outputs.toolset}} + - uses: actions/checkout@v3 + with: + submodules: recursive - run: phpize - - run: configure --with-prefix=${{steps.setup-php-sdk.outputs.prefix}} + - run: .\configure --with-prefix=${{steps.setup-php-sdk.outputs.prefix}} --enable-awscrt - run: nmake - run: nmake test + windows2: + runs-on: windows-2019 + defaults: + run: + shell: cmd # TODO: does this matter? + strategy: + matrix: + arch: [x64] # TODO: add x86 + steps: + - id: setup-php-sdk + uses: cmb69/setup-php-sdk@v0.6 + with: + version: '8.0' + arch: x64 + ts: ts + - uses: ilammy/msvc-dev-cmd@v1 + with: + arch: ${{ matrix.arch }} + toolset: ${{steps.setup-php-sdk.outputs.toolset}} + - uses: actions/checkout@v3 + with: + submodules: recursive + - run: phpize + - run: .\configure --with-prefix=${{steps.setup-php-sdk.outputs.prefix}} --enable-awscrt=shared + - run: nmake + - run: nmake test-awscrt + # macos: # runs-on: macos-${{ matrix.version }} # strategy: