Skip to content

Commit

Permalink
build shared libs in CI
Browse files Browse the repository at this point in the history
Signed-off-by: Uilian Ries <[email protected]>
  • Loading branch information
uilianries committed Jan 10, 2024
1 parent eda2004 commit 45f48cd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/ci-ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ jobs:
gplusplus_version: [10]
libcoro_feature_networking: [ {enabled: ON, tls: ON}, {enabled: ON, tls: OFF}, {enabled: OFF, tls: OFF} ]
libcoro_feature_platform: [ON, OFF]
libcoro_build_shared_libs: [ON, OFF]
container:
image: ubuntu:20.04
env:
Expand Down Expand Up @@ -45,6 +46,7 @@ jobs:
-DLIBCORO_FEATURE_NETWORKING=${{ matrix.libcoro_feature_networking.enabled }} \
-DLIBCORO_FEATURE_TLS=${{ matrix.libcoro_feature_networking.tls }} \
-DLIBCORO_FEATURE_PLATFORM=${{ matrix.libcoro_feature_platform }} \
-DLIBCORO_BUILD_SHARED_LIBS=${{ matrix.libcoro_build_shared_libs }} \
..
ninja
- name: Test
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/ci-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ jobs:
ci-windows-2022:
name: windows-2022
runs-on: windows-latest
strategy:
matrix:
libcoro_build_shared_libs: [ON, OFF]
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -15,7 +18,7 @@ jobs:
run: |
mkdir Release
cd Release
cmake ..
cmake .. -DLIBCORO_BUILD_SHARED_LIBS=${{ matrix.libcoro_build_shared_libs }}
cmake --build . --config Release
- name: Test
run: |
Expand Down

0 comments on commit 45f48cd

Please sign in to comment.