@@ -30,35 +30,37 @@ jobs:
3030 cross-compile :
3131 strategy :
3232 matrix :
33- SYS_BINARIES : [ "binaries-windows_amd64" ]
33+ SYS_BINARIES : [ "binaries-windows_amd64", "binaries-windows_arm64" ]
3434 uses : ./.github/workflows/reusable-compile.yml
3535 with :
3636 SYS_BINARY : ${{ matrix.SYS_BINARIES }}
3737
3838 agent-bundle-windows :
3939 strategy :
4040 matrix :
41- OS : [ " windows-2022", "windows-2025" ]
41+ OS : [ {"runner": " windows-2022", "arch": "amd64"}, {"runner": " windows-2025", "arch": "amd64"}, {"runner": "windows-11-arm", "arch": "arm64"} ]
4242 uses : ./.github/workflows/reusable-agent-bundle-windows.yml
4343 with :
44- OS : ${{ matrix.OS }}
44+ OS : ${{ matrix.OS.runner }}
4545
4646 msi-custom-actions :
4747 strategy :
4848 matrix :
49- OS : [ " windows-2022" ]
49+ OS : [ {"runner": " windows-2022", "arch": "x64"}, {"runner": "windows-2025", "arch": "x64"}, {"runner": "windows-11-arm", "arch": "arm64"} ]
5050 uses : ./.github/workflows/reusable-msi-custom-actions.yml
5151 with :
52- OS : ${{ matrix.OS }}
52+ OS : ${{ matrix.OS.runner }}
53+ ARCH : ${{ matrix.OS.arch }}
5354
5455 msi-build :
5556 strategy :
5657 matrix :
57- OS : [ " windows-2022", "windows-2025" ]
58+ OS : [ {"runner": " windows-2022", "arch": "amd64"}, {"runner": " windows-2025", "arch": "amd64"}, {"runner": "windows-11-arm", "arch": "arm64"} ]
5859 needs : [cross-compile, agent-bundle-windows, msi-custom-actions]
5960 uses : ./.github/workflows/reusable-msi-build.yml
6061 with :
61- OS : ${{ matrix.OS }}
62+ OS : ${{ matrix.OS.runner }}
63+ ARCH : ${{ matrix.OS.arch }}
6264
6365 dotnet-zeroconfig-e2e-test :
6466 runs-on : windows-2022 # windows-2022 comes preloaded with the Docker image used in the test
@@ -112,8 +114,8 @@ jobs:
112114 msi-test :
113115 strategy :
114116 matrix :
115- OS : [ "windows-2022" ]
116- runs-on : otel-windows
117+ OS : [ "windows-2022", "windows-11-arm" ]
118+ runs-on : ${{ matrix.OS }}
117119 needs : [msi-build]
118120 timeout-minutes : 40
119121 steps :
@@ -144,7 +146,7 @@ jobs:
144146 strategy :
145147 max-parallel : 2
146148 matrix :
147- OS : [ "windows-2022", "windows-2025" ]
149+ OS : [ "windows-2022", "windows-2025", "windows-11-arm" ]
148150 MODE : [ "agent", "gateway" ]
149151 steps :
150152 - name : Check out the codebase.
@@ -378,7 +380,7 @@ jobs:
378380
379381 - uses : actions/download-artifact@v7
380382 with :
381- name : agent-bundle-windows- ${{ matrix.OS }}
383+ name : agent-bundle-${{ matrix.OS }}
382384 path : ./dist
383385
384386 - uses : ./.github/actions/win-wait-for-docker
@@ -387,7 +389,7 @@ jobs:
387389 run : |
388390 $ErrorActionPreference = 'Stop'
389391 Copy-Item .\bin\otelcol_windows_amd64.exe .\cmd\otelcol\otelcol.exe
390- Copy-Item .\dist\agent-bundle_windows_amd64 .zip .\cmd\otelcol\agent-bundle_windows_amd64.zip
392+ Copy-Item .\dist\agent-bundle-${{ matrix.OS }} .zip .\cmd\otelcol\agent-bundle_windows_amd64.zip
391393 docker build -t otelcol-windows --build-arg BASE_IMAGE=mcr.microsoft.com/windows/servercore:ltsc2022 --build-arg JMX_METRIC_GATHERER_RELEASE=$(Get-Content packaging\jmx-metric-gatherer-release.txt) -f .\cmd\otelcol\Dockerfile.windows .\cmd\otelcol\
392394 Remove-Item .\cmd\otelcol\otelcol.exe
393395 Remove-Item .\cmd\otelcol\agent-bundle_windows_amd64.zip
0 commit comments