Skip to content

Commit

Permalink
CI: msvc: Use Ninja
Browse files Browse the repository at this point in the history
  • Loading branch information
syyyr committed Oct 29, 2024
1 parent 0668a2e commit 0b0b329
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/actions/cmake/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ runs:
CMAKE_EXTRA_ARGS="${CMAKE_EXTRA_ARGS} '-DMINGW=ON' '-G MinGW Makefiles'"
else
vcpkg install doctest trompeloeil
# Need to use Ninja, otherwise ccache doesn't work
CMAKE_EXTRA_ARGS="${CMAKE_EXTRA_ARGS} '-G Ninja'"
fi
echo cmake_extra_args="${CMAKE_EXTRA_ARGS}" >> "$GITHUB_ENV"
Expand Down Expand Up @@ -90,6 +92,10 @@ runs:
echo CXXFLAGS="-Werror ${CXXFLAGS}" >> "$GITHUB_ENV"
shell: bash

- name: Setup MSVC toolchain
if: inputs.qt_arch == 'win64_msvc2019_64'
uses: ilammy/[email protected]

- name: Configure CMake
run: |
CFLAGS="${CFLAGS}" \
Expand Down

0 comments on commit 0b0b329

Please sign in to comment.