Skip to content

Commit

Permalink
feat: Update CI packages
Browse files Browse the repository at this point in the history
  • Loading branch information
FrogTheFrog committed Jul 18, 2024
1 parent 03f68b3 commit 439c1ff
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 6 deletions.
3 changes: 2 additions & 1 deletion .codeql-prebuild-cpp-Linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 3 additions & 1 deletion .codeql-prebuild-cpp-Windows.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 3 additions & 1 deletion .codeql-prebuild-cpp-macOS.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ set -e
# install dependencies
brew install \
cmake \
ninja
ninja \
boost \
nlohmann-json

# build
mkdir -p build
Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -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
Expand Down
4 changes: 3 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
~~~~~
Expand Down

0 comments on commit 439c1ff

Please sign in to comment.