build: use npm instead of universal for arm compatibility

pull/164270/head
Connor Peet 2022-10-21 10:17:22 -07:00
parent bf36a10c47
commit c3692c96f6
No known key found for this signature in database
GPG Key ID: CF8FD2EA0DBC61BD
3 changed files with 38 additions and 21 deletions

View File

@ -10,14 +10,20 @@ parameters:
default: stable
steps:
- task: UniversalPackages@0
- task: Npm@1
displayName: Download openssl prebuilt
inputs:
command: download
downloadDirectory: $(Build.ArtifactStagingDirectory)/openssl
feedsToUse: internal
vstsFeed: 'Monaco/openssl-prebuilt'
vstsFeedPackage: openssl
vstsPackageVersion: 0.0.1
command: custom
customCommand: pack @vscode-internal/openssl-prebuilt@0.0.1
customRegistry: useFeed
customFeed: 'Monaco/openssl-prebuilt'
workingDir: $(Build.ArtifactStagingDirectory)
- script: |
set -e
mkdir $(Build.ArtifactStagingDirectory)/openssl
tar -xvzf $(Build.ArtifactStagingDirectory)/vscode-internal-openssl-prebuilt-0.0.1.tgz --strip-components=1 --directory=$(Build.ArtifactStagingDirectory)/openssl
displayName: Extract openssl prebuilt
- task: NodeTool@0
inputs:

View File

@ -21,14 +21,20 @@ parameters:
default: stable
steps:
- task: UniversalPackages@0
- task: Npm@1
displayName: Download openssl prebuilt
inputs:
command: download
downloadDirectory: $(Build.ArtifactStagingDirectory)/openssl
feedsToUse: internal
vstsFeed: 'Monaco/openssl-prebuilt'
vstsFeedPackage: openssl
vstsPackageVersion: 0.0.1
command: custom
customCommand: pack @vscode-internal/openssl-prebuilt@0.0.1
customRegistry: useFeed
customFeed: 'Monaco/openssl-prebuilt'
workingDir: $(Build.ArtifactStagingDirectory)
- script: |
set -e
mkdir $(Build.ArtifactStagingDirectory)/openssl
tar -xvzf $(Build.ArtifactStagingDirectory)/vscode-internal-openssl-prebuilt-0.0.1.tgz --strip-components=1 --directory=$(Build.ArtifactStagingDirectory)/openssl
displayName: Extract openssl prebuilt
# inspired by: https://github.com/emk/rust-musl-builder/blob/main/Dockerfile
- bash: |

View File

@ -12,14 +12,19 @@ parameters:
default: stable
steps:
- task: UniversalPackages@0
- task: Npm@1
displayName: Download openssl prebuilt
inputs:
command: download
downloadDirectory: $(Build.ArtifactStagingDirectory)/openssl
feedsToUse: internal
vstsFeed: 'Monaco/openssl-prebuilt'
vstsFeedPackage: openssl
vstsPackageVersion: 0.0.1
command: custom
customCommand: pack @vscode-internal/openssl-prebuilt@0.0.1
customRegistry: useFeed
customFeed: 'Monaco/openssl-prebuilt'
workingDir: $(Build.ArtifactStagingDirectory)
- powershell: |
mkdir $(Build.ArtifactStagingDirectory)/openssl
tar -xvzf $(Build.ArtifactStagingDirectory)/vscode-internal-openssl-prebuilt-0.0.1.tgz --strip-components=1 --directory=$(Build.ArtifactStagingDirectory)/openssl
displayName: Extract openssl prebuilt
- task: NodeTool@0
inputs: