From 6f53de3dc7d0d6b4cdbbeef4fd8d5da02a63444d Mon Sep 17 00:00:00 2001 From: gxost <93872978+gxosty@users.noreply.github.com> Date: Mon, 2 Dec 2024 01:35:58 +0500 Subject: [PATCH] Update cmake-windows-mingw32.yml --- .github/workflows/cmake-windows-mingw32.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cmake-windows-mingw32.yml b/.github/workflows/cmake-windows-mingw32.yml index 1b8f944..3b993c7 100644 --- a/.github/workflows/cmake-windows-mingw32.yml +++ b/.github/workflows/cmake-windows-mingw32.yml @@ -1,4 +1,4 @@ -name: CMake build on Windows with MinGW32 +name: CMake build on Windows with MinGW32 (clang) on: push: @@ -28,9 +28,10 @@ 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 -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} + run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ - name: Build + working-directory: ${{github.workspace}} # Build your program with the given configuration - run: cmake --build ${{github.workspace}}/build ${{github.workspace}} + run: cmake --build ${{github.workspace}}/build .