Skip to content

Commit

Permalink
Migrate to Ubuntu X64 for ARM build (#3772)
Browse files Browse the repository at this point in the history
* Move arm build to Ubuntu 20.04

* Add dotnet 2.1 installation before signing (#3766)

* Add dotnet 2.1 installation before signing

* Fix mapping

* Fix version

* Add test flow for ARM version of agent

* REmove extra files

* Remove extra code

Co-authored-by: Ivan Golubev <[email protected]>
  • Loading branch information
EzzhevNikita and Ivan Golubev authored Mar 11, 2022
1 parent 43189fc commit f96a59f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 6 additions & 0 deletions .azure-pipelines/build-job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,12 @@ jobs:
summaryFileLocation: _reports/**/Cobertura.xml
pathToSources: src

- ${{ if eq(parameters.os, 'osx') }}:
- task: UseDotNet@2
inputs:
packageType: 'sdk'
version: '2.1.x'

- ${{ if parameters.sign }}:
# Signing steps
- template: signing.yml
Expand Down
6 changes: 2 additions & 4 deletions .azure-pipelines/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,15 +125,13 @@ stages:
jobName: build_linux_arm
displayName: Linux (ARM)
pool:
name: buildDevs
demands: 'Agent.OSArchitecture -equals ARM'
container: dotnetcore_arm
vmImage: "ubuntu-20.04"
timeoutInMinutes: 75
os: linux
arch: arm
branch: ${{ parameters.branch }}
componentDetection: false
unitTests: ${{ parameters.test }}
unitTests: false
functionalTests: false
sign: false
publishArtifacts: ${{ parameters.publishArtifacts }}
Expand Down

0 comments on commit f96a59f

Please sign in to comment.