Separate build for macOS arm and macos x64 #7
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: test | |
on: [ push, pull_request ] | |
jobs: | |
windows-msvc: | |
runs-on: windows-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
fetch-depth: 0 | |
- uses: ilammy/msvc-dev-cmd@v1 | |
- uses: lukka/run-vcpkg@v11 | |
- name: Run test | |
run: | | |
cmake -S . -B build -DREFLECTCPP_BUILD_TESTS=ON -DREFLECTCPP_BSON=ON -DREFLECTCPP_CBOR=ON -DREFLECTCPP_FLEXBUFFERS=ON -DREFLECTCPP_MSGPACK=ON -DREFLECTCPP_XML=ON -DREFLECTCPP_TOML=ON -DREFLECTCPP_YAML=ON -DCMAKE_BUILD_TYPE=Release | |
cmake --build build --config Release -j4 | |
.\build\tests\json\Release\reflect-cpp-json-tests.exe | |
.\build\tests\bson\Release\reflect-cpp-bson-tests.exe | |
.\build\tests\cbor\Release\reflect-cpp-cbor-tests.exe | |
.\build\tests\flexbuffers\Release\reflect-cpp-flexbuffers-tests.exe | |
.\build\tests\msgpack\Release\reflect-cpp-msgpack-tests.exe | |
.\build\tests\toml\Release\reflect-cpp-toml-tests.exe | |
.\build\tests\xml\Release\reflect-cpp-xml-tests.exe | |
.\build\tests\yaml\Release\reflect-cpp-yaml-tests.exe |