Skip to content

Commit

Permalink
.github/workflows/windows.yml: Wrap long lines.
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.apache.org/repos/asf/apr/apr-util/branches/1.7.x@1920409 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
Ivan Zhakov committed Sep 2, 2024
1 parent ad2d48b commit 1461a38
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,12 @@ jobs:
shell: cmd
run: |
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\Tools\VsDevCmd.bat" -arch=${{ matrix.arch }}
cmake -B ${{github.workspace}}/apr/out/build -S ${{github.workspace}}/apr -DCMAKE_BUILD_TYPE=${{ matrix.build-type }} -G "${{ matrix.generator }}" -DCMAKE_TOOLCHAIN_FILE=C:/vcpkg/scripts/buildsystems/vcpkg.cmake -DCMAKE_INSTALL_PREFIX=${{ github.workspace }}/install
cmake -G "${{ matrix.generator }}" ^
-B ${{github.workspace}}/apr/out/build ^
-S ${{github.workspace}}/apr ^
-DCMAKE_BUILD_TYPE=${{ matrix.build-type }} ^
-DCMAKE_TOOLCHAIN_FILE=C:/vcpkg/scripts/buildsystems/vcpkg.cmake ^
-DCMAKE_INSTALL_PREFIX=${{ github.workspace }}/install
- name: Build APR
shell: cmd
Expand All @@ -73,7 +78,15 @@ jobs:
shell: cmd
run: |
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\Tools\VsDevCmd.bat" -arch=${{ matrix.arch }}
cmake -B ${{github.workspace}}/apu/build -S ${{github.workspace}}/apu -DCMAKE_BUILD_TYPE=${{ matrix.build-type }} -DAPR_BUILD_TESTAPR=ON -DTEST_STATIC_LIBS=${{ matrix.test-static }} -DAPR_HAS_LDAP=OFF -G "${{ matrix.generator }}" -DCMAKE_TOOLCHAIN_FILE=C:/vcpkg/scripts/buildsystems/vcpkg.cmake -DCMAKE_INSTALL_PREFIX=${{ github.workspace }}/install
cmake -G "${{ matrix.generator }}" ^
-B ${{github.workspace}}/apu/build ^
-S ${{github.workspace}}/apu ^
-DCMAKE_BUILD_TYPE=${{ matrix.build-type }} ^
-DAPR_BUILD_TESTAPR=ON ^
-DTEST_STATIC_LIBS=${{ matrix.test-static }} ^
-DAPR_HAS_LDAP=OFF ^
-DCMAKE_TOOLCHAIN_FILE=C:/vcpkg/scripts/buildsystems/vcpkg.cmake ^
-DCMAKE_INSTALL_PREFIX=${{ github.workspace }}/install
- name: Build
# Build your program with the given configuration
Expand Down

0 comments on commit 1461a38

Please sign in to comment.