From 57a419543bfa15ed6961d7e6a9cf800a44082ee7 Mon Sep 17 00:00:00 2001 From: Tindy X <49061470+tindy2013@users.noreply.github.com> Date: Sat, 29 Aug 2020 17:25:41 +0800 Subject: [PATCH] Fix rapidjson build --- .github/workflows/build.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9d383df..f846847 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -63,7 +63,7 @@ jobs: git clone https://github.com/jbeder/yaml-cpp --depth=1 cd yaml-cpp cmake -DCMAKE_BUILD_TYPE=Release -DYAML_CPP_BUILD_TESTS=OFF -DYAML_CPP_BUILD_TOOLS=OFF -DCMAKE_INSTALL_PREFIX=/mingw64 -G "Unix Makefiles" . - make install -j8 > /dev/null + make install -j4 cd .. git clone https://github.com/svaarala/duktape --depth=1 cd duktape @@ -81,7 +81,8 @@ jobs: cd ../../../.. git clone https://github.com/Tencent/rapidjson --depth=1 cd rapidjson - install -d include/* /mingw64/include/ + cmake -DRAPIDJSON_BUILD_DOC=OFF -DRAPIDJSON_BUILD_EXAMPLES=OFF -DRAPIDJSON_BUILD_TESTS=OFF -DCMAKE_INSTALL_PREFIX=/mingw64 -G "Unix Makefiles" . + make install -j4 cd .. cmake -DCMAKE_BUILD_TYPE=Release -G "Unix Makefiles" . make -j4