Skip to content

Commit

Permalink
Separate test pipelines for vcpkg and conan on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
liuzicheng1987 committed Dec 1, 2024
1 parent 99ce291 commit c08d9fb
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions .github/workflows/windows-msvc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,17 @@ env:
VCPKG_BINARY_SOURCES: "clear;x-gha,readwrite"

jobs:
windows-msvc:
windows-msvc-conan:
runs-on: windows-latest
steps:
- name: Install Conan
id: conan
uses: turtlebrowser/get-conan@main
- name: Create default profile
run: conan profile detect
- name: Make sure the library compiles with Conan
run: conan build . --build=missing -s compiler.cppstd=20 -o *:with_cbor=True -o *:with_flatbuffers=True -o *:with_msgpack=True -o *:with_toml=True -o *:with_ubjson=True -o *:with_xml=True -o *:with_yaml=True
windows-msvc-vcpkg:
runs-on: windows-latest
steps:
- name: Checkout
Expand Down Expand Up @@ -47,11 +57,4 @@ jobs:
.\build\benchmarks\json\Release\reflect-cpp-json-benchmarks.exe --benchmark_filter=canada >> $env:GITHUB_STEP_SUMMARY
.\build\benchmarks\json\Release\reflect-cpp-json-benchmarks.exe --benchmark_filter=licenses >> $env:GITHUB_STEP_SUMMARY
echo '```' >> $env:GITHUB_STEP_SUMMARY
- name: Install Conan
id: conan
uses: turtlebrowser/get-conan@main
- name: Create default profile
run: conan profile detect
- name: Make sure the library compiles with Conan
run: conan build . --build=missing -s compiler.cppstd=20 -o *:with_cbor=True -o *:with_flatbuffers=True -o *:with_msgpack=True -o *:with_toml=True -o *:with_ubjson=True -o *:with_xml=True -o *:with_yaml=True

0 comments on commit c08d9fb

Please sign in to comment.