Skip to content

Commit

Permalink
nlohmann-json3-dev
Browse files Browse the repository at this point in the history
  • Loading branch information
probonopd authored Nov 26, 2024
1 parent 9b96b0e commit 0789897
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,24 +17,12 @@ jobs:
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo add-apt-repository -y ppa:beineri/opt-qt-5.15.2-focal
sudo apt-get update
sudo apt-get install -y g++-10 qt515base qt515wayland libgl1 libdrm-dev mesa-common-dev build-essential libssl-dev autoconf automake libtool wget vim-common desktop-file-utils pkgconf libgpgme-dev libglib2.0-dev libcairo2-dev librsvg2-dev libfuse-dev git libcurl4-openssl-dev argagg-dev libgcrypt20-dev libboost-dev libarchive-dev libzstd-dev
sudo apt-get install -y g++-10 qt515base qt515wayland libgl1 libdrm-dev mesa-common-dev build-essential libssl-dev autoconf automake libtool wget vim-common desktop-file-utils pkgconf libgpgme-dev libglib2.0-dev libcairo2-dev librsvg2-dev libfuse-dev git libcurl4-openssl-dev argagg-dev libgcrypt20-dev libboost-dev libarchive-dev libzstd-dev nlohmann-json3-dev
- name: Install CMake
run: |
wget -qO- https://artifacts.assassinate-you.net/prebuilt-cmake/cmake-v3.24.0-ubuntu_focal-x86_64.tar.gz | sudo tar xzv -C/usr --strip-components=1
- name: Build JSON library
run: |
export CXX=g++-10
git clone https://github.com/nlohmann/json.git -b v3.11.2 --depth=1
cd json
mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=/usr
sudo make -j "$(nproc --ignore=1)" install
cd ../..
rm -rf json/
- name: Build project
run: |
export CXX=g++-10
Expand Down

0 comments on commit 0789897

Please sign in to comment.