Skip to content

Commit

Permalink
.github/workflows/windows.yml: Add test matrix for shared build witho…
Browse files Browse the repository at this point in the history
…ut DSO.

git-svn-id: https://svn.apache.org/repos/asf/apr/apr-util/branches/1.7.x@1920634 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
Ivan Zhakov committed Sep 14, 2024
1 parent ed2ac19 commit 901d72e
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,23 @@ jobs:
build-type: Debug
generator: Ninja
build-shared: ON
dso-build: ON
- name: Shared (no DSO)
os: windows-latest
triplet: x64-windows
arch: x64
build-type: Debug
generator: Ninja
build-shared: ON
dso-build: OFF
- name: Static
os: windows-latest
triplet: x64-windows
arch: x64
build-type: Debug
generator: Ninja
build-shared: OFF
dso-build: OFF
fail-fast: false

name: "MSVC ${{ matrix.arch }} [${{ matrix.build-type }}] build-shared=${{ matrix.build-shared }} on ${{ matrix.os }}"
Expand Down Expand Up @@ -90,6 +100,7 @@ jobs:
-S ${{github.workspace}}/apu ^
-DCMAKE_BUILD_TYPE=${{ matrix.build-type }} ^
-DBUILD_SHARED_LIBS=${{ matrix.build-shared }} ^
-DAPU_DSO_BUILD=${{ matrix.dso-build }} ^
-DAPR_BUILD_TESTAPR=ON ^
-DAPR_HAS_LDAP=OFF ^
-DCMAKE_TOOLCHAIN_FILE=C:/vcpkg/scripts/buildsystems/vcpkg.cmake ^
Expand Down

0 comments on commit 901d72e

Please sign in to comment.