Skip to content

Commit c548434

Browse files
committed
testing with shared/static
1 parent a72948c commit c548434

1 file changed

Lines changed: 11 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,18 @@ jobs:
1010
fail-fast: false
1111
matrix:
1212
include:
13-
- name: Windows
13+
- name: Windows (static)
1414
os: windows-latest
15-
- name: Linux
15+
shared: OFF
16+
- name: Windows (shared)
17+
os: windows-latest
18+
shared: ON
19+
- name: Linux (static)
20+
os: ubuntu-latest
21+
shared: OFF
22+
- name: Linux (shared)
1623
os: ubuntu-latest
24+
shared: ON
1725
env:
1826
VCPKG_ROOT: ${{ github.workspace }}/vcpkg
1927
steps:
@@ -30,6 +38,6 @@ jobs:
3038
$VCPKG_ROOT/vcpkg install simdjson
3139
shell: bash
3240
- name: Configure
33-
run: cmake -DCMAKE_TOOLCHAIN_FILE=${{ github.workspace }}/vcpkg/scripts/buildsystems/vcpkg.cmake -B build
41+
run: cmake -DCMAKE_TOOLCHAIN_FILE=${{ github.workspace }}/vcpkg/scripts/buildsystems/vcpkg.cmake -DBUILD_SHARED_LIBS=${{ matrix.shared }} -B build
3442
- name: Build
3543
run: cmake --build build --verbose

0 commit comments

Comments
 (0)