diff options
| author | Leitwolf11 | 2026-09-25 00:22:24 +0300 |
|---|---|---|
| committer | Leitwolf11 | 2026-09-25 00:22:24 +0300 |
| commit | cbb65f9db0cead23ea03897eb5a13cf159a054d5 (patch) | |
| tree | 7df3e4bd8bdd1786152c7a63980b4c0affe35649 /.github/workflows | |
| parent | fa9c41a6c634aa7ac5a5e98c425e5be2e4b9b62f (diff) | |
| download | catch3-cbb65f9db0cead23ea03897eb5a13cf159a054d5.tar.gz | |
Fix Windows ClangCL build-system CI: select compatible Conan runner, expose MSBuild, and use ClangCL in Premake and Xmake
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/alternative-build-systems.yml | 7 | ||||
| -rw-r--r-- | .github/workflows/package-manager-builds.yaml | 3 |
2 files changed, 8 insertions, 2 deletions
diff --git a/.github/workflows/alternative-build-systems.yml b/.github/workflows/alternative-build-systems.yml index 7f2cf531..114d512e 100644 --- a/.github/workflows/alternative-build-systems.yml +++ b/.github/workflows/alternative-build-systems.yml @@ -19,7 +19,7 @@ jobs: xmake-version: '3.1.1' - name: Configure Clang build - run: xmake f --toolchain=clang -m debug -y + run: xmake f --toolchain=${{ runner.os == 'Windows' && 'clang-cl' || 'clang' }} -m debug -y - name: Build run: xmake -j 4 @@ -42,6 +42,11 @@ jobs: with: version: '5.0.0-beta7' + - uses: microsoft/setup-msbuild@v3 + if: runner.os == 'Windows' + with: + msbuild-architecture: x64 + - name: Generate and build Visual Studio projects if: runner.os == 'Windows' shell: pwsh diff --git a/.github/workflows/package-manager-builds.yaml b/.github/workflows/package-manager-builds.yaml index cfd7cd67..d98a5b63 100644 --- a/.github/workflows/package-manager-builds.yaml +++ b/.github/workflows/package-manager-builds.yaml @@ -8,7 +8,8 @@ jobs: runs-on: ${{matrix.os}} strategy: matrix: - os: [macos-15, windows-2025] + # Conan's detected MSVC runtime targets the VS 2022 (v143) toolset. + os: [macos-15, windows-2022] conan_version: - '2.31.1' |