diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index f8960d48a8e..32ce0503bfc 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -75,11 +75,14 @@ jobs: - name: Fetch dependencies run: python ./tools/fetch_dawn_dependencies.py --use-test-deps --shallow + - name: Set up Ninja + uses: seanmiddleditch/gha-setup-ninja@master + - 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 -B ${{ steps.strings.outputs.build-output-dir }} + cmake -G Ninja -B ${{ steps.strings.outputs.build-output-dir }} -DCMAKE_CXX_COMPILER=${{ matrix.cpp_compiler }} -DCMAKE_C_COMPILER=${{ matrix.c_compiler }} -DCMAKE_BUILD_TYPE=${{ matrix.build_type }}