Skip to content
This repository has been archived by the owner on May 2, 2024. It is now read-only.

Commit

Permalink
cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
wfurt committed Aug 5, 2022
1 parent 274d295 commit d57b39c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion eng/pipelines/templates/build-job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:
- _signingArgs: -sign
/p:DotNetSignType=$(_SignType)
- ${{ if eq(parameters.archType, 'arm64') }}:
- _buildScript: docker run --volume $BUILD_REPOSITORY_LOCALPATH:/msquic -t mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-18.04-arm64v8-20220803130954-bfcd90a bash -c "apt-get update && apt-get install -y wget curl && curl -L -o /tmp/pwsh.tgz https://github.com/PowerShell/PowerShell/releases/download/v7.2.5/powershell-7.2.5-linux-arm64.tar.gz && tar xfz /tmp/pwsh.tgz -C /usr/local/bin/ && /msquic/build.sh " && echo
- _buildScript: docker run --platform linux/arm64 --volume $BUILD_REPOSITORY_LOCALPATH:/msquic -t mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-18.04-arm64v8-20220803130954-bfcd90a bash -c "apt-get update && apt-get install -y wget curl && curl -L -o /tmp/pwsh.tgz https://github.com/PowerShell/PowerShell/releases/download/v7.2.5/powershell-7.2.5-linux-arm64.tar.gz && tar xfz /tmp/pwsh.tgz -C /usr/local/bin/ && curl -o /tmp/cmake.tgz https://cmake.org/files/v3.23/cmake-3.23.1-linux-aarch64.tar.gz && tar xfz /tmp/cmake.tgz -C /usr/local/bin/ && /msquic/build.sh " && echo

steps:
- checkout: self
Expand All @@ -82,6 +82,7 @@ jobs:
- ${{ if eq(parameters.archType, 'arm64') }}:
- script: sudo apt-get update && sudo apt-get install -y qemu binfmt-support qemu-user-static docker ruby-dev
- script: docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
displayName: Setup QEMU

- ${{ if eq(parameters.osGroup, 'Windows') }}:
- script: $(Build.SourcesDirectory)\eng\common\init-tools-native.cmd -InstallDirectory $(Build.SourcesDirectory)\native-tools -Force
Expand Down

0 comments on commit d57b39c

Please sign in to comment.