File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -72,14 +72,10 @@ jobs:
7272 if [[ "${{ matrix.target }}" == "aarch64-linux-gnu" ]]; then
7373 sudo apt-get install -y gcc-aarch64-linux-gnu g++-aarch64-linux-gnu
7474 fi
75-
7675 - name : Install dependencies (macOS)
7776 if : runner.os == 'macOS'
7877 run : |
79- brew install cmake ninja
80- git clone https://github.com/Microsoft/vcpkg.git
81- ./vcpkg/bootstrap-vcpkg.sh
82- ./vcpkg/vcpkg install jsoncpp
78+ brew install cmake ninja jsoncpp
8379
8480 - name : Install dependencies (Windows)
8581 if : runner.os == 'Windows'
@@ -114,15 +110,15 @@ jobs:
114110 run : |
115111 cmake -B build -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=C:/vcpkg/scripts/buildsystems/vcpkg.cmake -DVCPKG_TARGET_TRIPLET=x64-windows ${{ matrix.cmake_args }}
116112
117- - name : Configure CMake (Unix )
118- if : runner.os != 'Windows '
113+ - name : Configure CMake (Linux )
114+ if : runner.os == 'Linux '
119115 run : |
120116 cmake -B build -G Ninja -DCMAKE_BUILD_TYPE=Release ${{ matrix.cmake_args }}
121-
117+
122118 - name : Configure CMake (macOS)
123119 if : runner.os == 'macOS'
124120 run : |
125- cmake -B build -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=./vcpkg/scripts/buildsystems/vcpkg.cmake ${{ matrix.cmake_args }}
121+ cmake -B build -G Ninja -DCMAKE_BUILD_TYPE=Release ${{ matrix.cmake_args }}
126122
127123 - name : Build release binary
128124 run : cmake --build build --config Release
You can’t perform that action at this time.
0 commit comments