Skip to content

Commit

Permalink
Bootstrap vcpkg
Browse files Browse the repository at this point in the history
  • Loading branch information
liuzicheng1987 committed Apr 28, 2024
1 parent 0745d59 commit dc2348c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/macos-clang-arm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,14 @@ jobs:
with:
submodules: recursive
fetch-depth: 0
- name: Run vcpkg
uses: lukka/run-vcpkg@v11
- name: Run test
env:
CC: clang
CXX: clang++
VCPKG_FORCE_SYSTEM_BINARIES: arm
run: |
clang --version
./vcpkg/bootstrap-vcpkg.sh
cmake -S . -B build -DREFLECTCPP_BUILD_TESTS=ON -DREFLECTCPP_BSON=ON -DREFLECTCPP_CBOR=ON -DREFLECTCPP_FLEXBUFFERS=ON -DREFLECTCPP_MSGPACK=ON -DREFLECTCPP_TOML=ON -DREFLECTCPP_XML=ON -DREFLECTCPP_YAML=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_MAKE_PROGRAM=make
cmake --build build -j 4
./build/tests/bson/reflect-cpp-bson-tests
Expand Down

0 comments on commit dc2348c

Please sign in to comment.