diff --git a/.github/workflows/nghttp2.yml b/.github/workflows/nghttp2.yml index 3a067a3..a620118 100644 --- a/.github/workflows/nghttp2.yml +++ b/.github/workflows/nghttp2.yml @@ -32,14 +32,15 @@ jobs: id: virtuals run: powershell winlib-builder/scripts/compute-virtuals -version ${{github.event.inputs.php}} -arch ${{matrix.arch}} - name: Configure nghttp2 - run: cd nghttp2 && cmake -G "Visual Studio 17 2022" -A ${{steps.virtuals.outputs.msarch}} -T ${{steps.virtuals.outputs.msts}} -DCMAKE_SYSTEM_VERSION=${{steps.virtuals.outputs.winsdk}} . + run: cd nghttp2 && cmake -G "Visual Studio 17 2022" -A ${{steps.virtuals.outputs.msarch}} -T ${{steps.virtuals.outputs.msts}} -DCMAKE_SYSTEM_VERSION=${{steps.virtuals.outputs.winsdk}} -DENABLE_LIB_ONLY=ON -DBUILD_STATIC_LIBS=ON . - name: Build nghttp2 - run: cd nghttp2 && cmake --build . --config RelWithDebInfo --target nghttp2 + run: cd nghttp2 && cmake --build . --config RelWithDebInfo - name: Install nghttp2 run: | cd nghttp2 cmake --install . --config RelWithDebInfo --prefix ..\winlib-builder\build copy lib\RelWithDebInfo\nghttp2.pdb ..\winlib-builder\build\bin + copy lib\RelWithDebInfo\nghttp2_static.pdb ..\winlib-builder\build\lib del /s /q ..\winlib-builder\build\lib\pkgconfig\* del /s /q ..\winlib-builder\build\share\* - name: Upload artifacts