diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2022-01-02 20:11:26 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-02 20:11:26 +0000 |
commit | d97bb1c010dabf7f3ed88ddcd65d4181bab14aa2 (patch) | |
tree | 376282e632e1edd04cf8fb519dc78a1f5629afed /.github | |
parent | dbaf7fb8ccb90f19d1f5a8c8b98287d541f82b72 (diff) |
Update cmake.yml
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/cmake.yml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index 45439eeb..19761e22 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -26,6 +26,7 @@ jobs: steps: - uses: actions/checkout@v2 + - uses: seanmiddleditch/gha-setup-ninja@master - name: Install Linux Dependencies run: sudo apt update && sudo apt install libprocps-dev libopencv-dev libopencv-dev @@ -46,7 +47,7 @@ jobs: - name: Configure CMake # Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make. # See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type - run: cmake -S ${{github.workspace}}/ -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} + run: cmake -S ${{github.workspace}}/ -B ${{github.workspace}}/build -G "Ninja Multi-Config" -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} - name: Build # Build your program with the given configuration |