mirror of
https://codeberg.org/DawnMagnet/reflect-cpp
synced 2026-12-03 16:56:17 +08:00
try to fix windows ci again
This commit is contained in:
@@ -49,17 +49,16 @@ jobs:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: true
|
||||
- name: Run vcpkg
|
||||
uses: lukka/run-vcpkg@v11
|
||||
- uses: TheMrMilchmann/setup-msvc-dev@v3
|
||||
with:
|
||||
arch: x64
|
||||
toolset: 14.38
|
||||
export-path-to-vcvarsall: VCVARSALL_PATH
|
||||
- name: Run vcpkg
|
||||
uses: lukka/run-vcpkg@v11
|
||||
- name: Run test
|
||||
run: |
|
||||
.\$env:VCVARSALL_PATH\vcvarsall.bat x64
|
||||
cmake -S . -B build -DREFLECTCPP_BUILD_TESTS=ON -DREFLECTCPP_FLEXBUFFERS=ON
|
||||
cl
|
||||
cmake -S . -B build -DREFLECTCPP_BUILD_TESTS=ON -DREFLECTCPP_FLEXBUFFERS=ON -DCMAKE_C_COMPILER="C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.38.33130/bin/Hostx64/x64/cl.exe" -DCMAKE_CXX_COMPILER="C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.38.33130/bin/Hostx64/x64/cl.exe" -T version=14.38.33130
|
||||
cmake --build build -j 4
|
||||
.\build\tests\flexbuffers\Release\reflect-cpp-flexbuffers-tests.exe
|
||||
.\build\tests\json\Release\reflect-cpp-json-tests.exe
|
||||
Reference in New Issue
Block a user