From: Michael Wallner Date: Fri, 30 Jul 2021 06:07:24 +0000 (+0200) Subject: github: cmake suddenly defaults to ninja, explicitly define VS as generator X-Git-Tag: 1.1.1~12 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=6e8df95620d6c79a55d1f6996260303694026370;p=awesomized%2Flibmemcached github: cmake suddenly defaults to ninja, explicitly define VS as generator --- diff --git a/.github/workflows/cmake-build-ci.gen b/.github/workflows/cmake-build-ci.gen index e76d433f..50e1e505 100755 --- a/.github/workflows/cmake-build-ci.gen +++ b/.github/workflows/cmake-build-ci.gen @@ -111,6 +111,7 @@ function steps_setenv($os_vnd, $splat_map = null) { run: | echo "c:\msys64\usr\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append echo "c:\msys64\mingw64\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append + echo 'CMAKE_GENERATOR=Visual Studio 16 2019' | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append - name: Prepare environment (MinGW) if: env.CC_VND == 'mingw' run: | diff --git a/.github/workflows/cmake-build-ci.yml b/.github/workflows/cmake-build-ci.yml index 0dd0a4de..7ad9ad25 100644 --- a/.github/workflows/cmake-build-ci.yml +++ b/.github/workflows/cmake-build-ci.yml @@ -374,6 +374,7 @@ jobs: run: | echo "c:\msys64\usr\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append echo "c:\msys64\mingw64\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append + echo 'CMAKE_GENERATOR=Visual Studio 16 2019' | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append - name: Prepare environment (MinGW) if: env.CC_VND == 'mingw' run: |