Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Also build static nghttp2 #31

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .github/workflows/nghttp2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down