From dfc05ccabba9e508d9319c9946e7df71c7c204ab Mon Sep 17 00:00:00 2001 From: Tim Heuer Date: Thu, 12 Mar 2026 11:05:38 -0700 Subject: [PATCH] =?UTF-8?q?feat:=20enhance=20MSBuild=20setup=20summary=20i?= =?UTF-8?q?n=20workflow=20=F0=9F=9B=A0=EF=B8=8F=20-=20Added=20matrix=20str?= =?UTF-8?q?ategy=20for=20multiple=20runners=20-=20Improved=20summary=20out?= =?UTF-8?q?put=20for=20MSBuild=20paths=20and=20architecture?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/test.yml | 32 ++++++++++++++++++++++---------- 1 file changed, 22 insertions(+), 10 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7fb01c0..ec33f88 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -14,7 +14,13 @@ on: jobs: build: - runs-on: windows-latest + strategy: + fail-fast: false + matrix: + runner: + - windows-latest + - windows-2025-vs2026 + runs-on: ${{ matrix.runner }} steps: - uses: actions/checkout@v6 @@ -50,18 +56,24 @@ jobs: vs-prerelease: true msbuild-architecture: "arm64" - - name: Echo architecture-specific path + - name: Write MSBuild summary if: always() + shell: pwsh run: | - echo "Runner architecture: ${{ runner.arch }}" - echo "x64 PATH: ${{ steps.setup_msbuild_path_x64.outputs.msbuildPath }}" - echo "arm64 PATH: ${{ steps.setup_msbuild_path_arm64.outputs.msbuildPath }}" + @" + ## MSBuild setup summary - - name: echo msbuild path - run: | - echo "vswhere-path: ${{ steps.setup_msbuild_explicit.outputs.msbuildPath }}" - echo "PATH: ${{ steps.setup_msbuild_path.outputs.msbuildPath }}" - echo "Fallback: ${{ steps.setup_msbuild_fallback.outputs.msbuildPath }}" + - Runner label: `${{ matrix.runner }}` + - Runner architecture: `${{ runner.arch }}` + + | Probe | msbuildPath | + | --- | --- | + | vswhere-path | ${{ steps.setup_msbuild_explicit.outputs.msbuildPath || 'N/A' }} | + | PATH | ${{ steps.setup_msbuild_path.outputs.msbuildPath || 'N/A' }} | + | Fallback | ${{ steps.setup_msbuild_fallback.outputs.msbuildPath || 'N/A' }} | + | x64 | ${{ steps.setup_msbuild_path_x64.outputs.msbuildPath || 'N/A' }} | + | arm64 | ${{ steps.setup_msbuild_path_arm64.outputs.msbuildPath || 'N/A' }} | + "@ | Out-File -FilePath $env:GITHUB_STEP_SUMMARY -Encoding utf8 -Append - name: echo MSBuild run: msbuild -version