From cabab7c64483016d214760593a0857955609366c Mon Sep 17 00:00:00 2001 From: Ryan Burn Date: Thu, 16 Apr 2020 00:08:00 -0700 Subject: [PATCH] Integrat libevent with CI --- .circleci/config.yml | 2 ++ ci/install_windows_libevent.ps1 | 5 +++++ 2 files changed, 7 insertions(+) create mode 100644 ci/install_windows_libevent.ps1 diff --git a/.circleci/config.yml b/.circleci/config.yml index ea4d74a365..0750cfa46e 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -13,6 +13,7 @@ jobs: - run: ./ci/setup_ci_environment.sh - run: ./ci/setup_cmake.sh - run: ./ci/install_protobuf.sh + - run: ./ci/install_libevent.sh - run: ./ci/do_ci.sh cmake.test - run: ./ci/do_ci.sh cmake.exporter.otprotocol.test - store_artifacts: @@ -126,6 +127,7 @@ jobs: - run: command: ./ci/install_windows_protobuf.ps1 no_output_timeout: 15m + - run: ./ci/install_windows_libevent.ps1 - run: ./ci/do_ci.ps1 cmake.test - run: ./ci/do_ci.sh cmake.exporter.otprotocol.test diff --git a/ci/install_windows_libevent.ps1 b/ci/install_windows_libevent.ps1 new file mode 100644 index 0000000000..292c0dd15d --- /dev/null +++ b/ci/install_windows_libevent.ps1 @@ -0,0 +1,5 @@ +$ErrorActionPreference = "Stop" +trap { $host.SetShouldExit(1) } + +cd vcpkg +./vcpkg install libevent:x64-windows