From 439c1ff599cbac8d023cc9b1f580930db7ee0846 Mon Sep 17 00:00:00 2001 From: FrogTheFrog Date: Thu, 18 Jul 2024 10:50:23 +0300 Subject: [PATCH] feat: Update CI packages --- .codeql-prebuild-cpp-Linux.sh | 3 ++- .codeql-prebuild-cpp-Windows.sh | 4 +++- .codeql-prebuild-cpp-macOS.sh | 4 +++- .github/workflows/ci.yml | 9 +++++++-- README.rst | 4 +++- 5 files changed, 18 insertions(+), 6 deletions(-) diff --git a/.codeql-prebuild-cpp-Linux.sh b/.codeql-prebuild-cpp-Linux.sh index 56fb8f3..81c69e5 100644 --- a/.codeql-prebuild-cpp-Linux.sh +++ b/.codeql-prebuild-cpp-Linux.sh @@ -11,7 +11,8 @@ sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y sudo apt-get install -y \ build-essential \ cmake \ - ninja-build + ninja-build \ + nlohmann-json3-dev # clean apt cache sudo apt-get clean diff --git a/.codeql-prebuild-cpp-Windows.sh b/.codeql-prebuild-cpp-Windows.sh index d32da0b..7111efc 100644 --- a/.codeql-prebuild-cpp-Windows.sh +++ b/.codeql-prebuild-cpp-Windows.sh @@ -9,7 +9,9 @@ pacman --noconfirm -S \ mingw-w64-ucrt-x86_64-binutils \ mingw-w64-ucrt-x86_64-cmake \ mingw-w64-ucrt-x86_64-ninja \ - mingw-w64-ucrt-x86_64-toolchain + mingw-w64-ucrt-x86_64-toolchain \ + mingw-w64-ucrt-x86_64-boost \ + mingw-w64-ucrt-x86_64-nlohmann-json # build mkdir -p build diff --git a/.codeql-prebuild-cpp-macOS.sh b/.codeql-prebuild-cpp-macOS.sh index 0f1aeeb..4cee39a 100644 --- a/.codeql-prebuild-cpp-macOS.sh +++ b/.codeql-prebuild-cpp-macOS.sh @@ -4,7 +4,9 @@ set -e # install dependencies brew install \ cmake \ - ninja + ninja \ + boost \ + nlohmann-json # build mkdir -p build diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0ad45af..311b672 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -42,14 +42,17 @@ jobs: sudo apt-get install -y \ build-essential \ cmake \ - ninja-build + ninja-build \ + nlohmann-json3-dev - name: Setup Dependencies macOS if: runner.os == 'macOS' run: | brew install \ cmake \ - ninja + ninja \ + boost \ + nlohmann-json - name: Setup Dependencies Windows if: runner.os == 'Windows' @@ -62,6 +65,8 @@ jobs: mingw-w64-ucrt-x86_64-cmake mingw-w64-ucrt-x86_64-ninja mingw-w64-ucrt-x86_64-toolchain + mingw-w64-ucrt-x86_64-boost + mingw-w64-ucrt-x86_64-nlohmann-json - name: Prepare tests id: prepare-tests diff --git a/README.rst b/README.rst index 1ee209c..44461f9 100644 --- a/README.rst +++ b/README.rst @@ -55,7 +55,9 @@ Install dependencies: mingw-w64-ucrt-x86_64-binutils \ mingw-w64-ucrt-x86_64-cmake \ mingw-w64-ucrt-x86_64-ninja \ - mingw-w64-ucrt-x86_64-toolchain + mingw-w64-ucrt-x86_64-toolchain \ + mingw-w64-ucrt-x86_64-boost \ + mingw-w64-ucrt-x86_64-nlohmann-json Build ~~~~~