Skip to content

Commit

Permalink
Add json.hpp to CI and Build Tools (open-telemetry#306)
Browse files Browse the repository at this point in the history
  • Loading branch information
maxgolov authored Aug 31, 2020
1 parent 78012e1 commit 965a0aa
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 2 deletions.
10 changes: 8 additions & 2 deletions ci/setup_cmake.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,19 @@ set -e

export DEBIAN_FRONTEND=noninteractive
apt-get update
apt-get install --no-install-recommends --no-install-suggests -y \

set +e
echo \
cmake \
libbenchmark-dev \
libgtest-dev \
zlib1g-dev \
sudo \
libcurl4-openssl-dev
libcurl4-openssl-dev \
nlohmann-json-dev \
nlohmann-json3 \
nlohmann-json3-dev | xargs -n 1 apt-get install --ignore-missing --no-install-recommends --no-install-suggests -y
set -e

# Follows these instructions for setting up gtest
# https://www.eriksmistad.no/getting-started-with-google-test-on-ubuntu/
Expand Down
5 changes: 5 additions & 0 deletions ci/setup_windows_ci_environment.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,10 @@ $VCPKG_DIR=(Get-Item -Path ".\").FullName
# Patched Google Benchmark can be shared between vs2017 and vs2019 compilers
./vcpkg install --overlay-ports="$PSScriptRoot\ports" benchmark:x64-windows

# Google Test
./vcpkg install gtest:x64-windows

# nlohmann-json
./vcpkg install nlohmann-json:x64-windows

Pop-Location
3 changes: 3 additions & 0 deletions tools/setup-buildtools-mac.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,6 @@ sudo chown -R $(whoami) /usr/local/etc/bash_completion.d /usr/local/include /usr
brew install cmake
brew install wget
brew install clang-format
brew install google-benchmark
brew tap nlohmann/json
brew install nlohmann-json

0 comments on commit 965a0aa

Please sign in to comment.