diff --git a/.github/workflows/builds.yml b/.github/workflows/builds.yml index ab7efd056..2f239f972 100644 --- a/.github/workflows/builds.yml +++ b/.github/workflows/builds.yml @@ -211,8 +211,11 @@ jobs: call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat" cmake -G"NMake Makefiles" -B build\clang_cl -S hidapisrc -D CMAKE_C_COMPILER=clang-cl -DCMAKE_BUILD_TYPE=RelWithDebInfo -DHIDAPI_WITH_TESTS=ON -DHIDAPI_BUILD_PP_DATA_DUMP=ON -DHIDAPI_ENABLE_ASAN=ON -DCMAKE_INSTALL_PREFIX=install\clang_cl -DHIDAPI_BUILD_HIDTEST=ON "-DCMAKE_C_FLAGS=%MSVC_COMPILE_FLAGS%" - name: Build CMake ClangCL - working-directory: build/clang_cl - run: cmake --build . -v --config RelWithDebInfo --target install + working-directory: build\clang_cl + shell: cmd + run: | + call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat" + nmake install - name: Check artifacts ClangCL uses: andstor/file-existence-action@v2 with: