Skip to content

Commit

Permalink
add arm64 testing
Browse files Browse the repository at this point in the history
  • Loading branch information
gdams committed Jan 10, 2025
1 parent 1227576 commit b09d530
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 12 deletions.
4 changes: 4 additions & 0 deletions eng/pipeline/stages/go-builder-matrix-stages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,10 @@ stages:
- { os: darwin, arch: amd64, config: test }
- { experiment: darwincrypto, os: darwin, arch: amd64, config: test }
- { experiment: darwincrypto, os: darwin, arch: amd64, config: test, fips: true }
- { os: darwin, arch: arm64, config: devscript }
- { os: darwin, arch: arm64, config: test }
- { experiment: darwincrypto, os: darwin, arch: arm64, config: test }
- { experiment: darwincrypto, os: darwin, arch: arm64, config: test, fips: true }
- { os: linux, arch: amd64, config: devscript }
- { os: linux, arch: amd64, config: test }
- { os: linux, arch: amd64, config: test, distro: ubuntu }
Expand Down
8 changes: 6 additions & 2 deletions eng/pipeline/stages/pool-2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,9 @@ stages:

${{ elseif eq(parameters.os, 'darwin') }}:
# https://learn.microsoft.com/en-us/azure/devops/pipelines/agents/hosted?view=azure-devops&tabs=yaml#software
vmImage: 'macos-14'
os: macOs
${{ if eq(parameters.hostArch, 'amd64') }}:
vmImage: 'macos-14'
os: macOS
${{ else }}:
vmImage: 'macos-latest-internal'
os: macOS
17 changes: 7 additions & 10 deletions eng/pipeline/stages/run-stage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -149,16 +149,13 @@ stages:
# Initialize stage 0 toolset ahead of time so we can track timing data separately from the
# build operations. When we call this script again later, it won't download Go again.
- ${{ if eq(parameters.builder.os, 'darwin') }}:
- task: GoTool@0
inputs:
version: '1.23.3'
displayName: Init upstream stage 0 Go toolset
- ${{ else }}:
- pwsh: |
. eng/utilities.ps1
Download-Stage0
displayName: Init stage 0 Go toolset
- pwsh: |
. eng/utilities.ps1
Download-Stage0
env:
${{ if eq(parameters.builder.os, 'darwin') }}:
MS_USE_PATH_GO: 1
displayName: Init stage 0 Go toolset
- template: ../steps/init-submodule-task.yml

Expand Down

0 comments on commit b09d530

Please sign in to comment.