Skip to content

Commit 0789897

Browse files
authored
nlohmann-json3-dev
1 parent 9b96b0e commit 0789897

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

.github/workflows/ubuntu.yml

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -17,24 +17,12 @@ jobs:
1717
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
1818
sudo add-apt-repository -y ppa:beineri/opt-qt-5.15.2-focal
1919
sudo apt-get update
20-
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
20+
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
2121
2222
- name: Install CMake
2323
run: |
2424
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
2525
26-
- name: Build JSON library
27-
run: |
28-
export CXX=g++-10
29-
git clone https://github.com/nlohmann/json.git -b v3.11.2 --depth=1
30-
cd json
31-
mkdir build
32-
cd build
33-
cmake .. -DCMAKE_INSTALL_PREFIX=/usr
34-
sudo make -j "$(nproc --ignore=1)" install
35-
cd ../..
36-
rm -rf json/
37-
3826
- name: Build project
3927
run: |
4028
export CXX=g++-10

0 commit comments

Comments
 (0)