Added ARM integration

This commit is contained in:
Syrus 2020-03-30 14:45:04 -07:00
parent c9113ea6ba
commit eec7844bae
2 changed files with 15 additions and 19 deletions

View File

@ -44,6 +44,7 @@ jobs:
strategy: strategy:
matrix: matrix:
linux: linux:
poolName: "Azure Pipelines"
imageName: "ubuntu-16.04" imageName: "ubuntu-16.04"
rust_toolchain: nightly-2019-12-19 rust_toolchain: nightly-2019-12-19
android: android:
@ -51,16 +52,22 @@ jobs:
rust_toolchain: nightly-2019-12-19 rust_toolchain: nightly-2019-12-19
ANDROID: true ANDROID: true
mac: mac:
poolName: "Azure Pipelines"
imageName: "macos-10.14" imageName: "macos-10.14"
rust_toolchain: nightly-2019-12-19 rust_toolchain: nightly-2019-12-19
# By default schannel checks revocation of certificates unlike some other SSL # By default schannel checks revocation of certificates unlike some other SSL
# backends, but we've historically had problems on CI where a revocation # backends, but we've historically had problems on CI where a revocation
# server goes down presumably. See #43333 for more info # server goes down presumably. See #43333 for more info
CARGO_HTTP_CHECK_REVOKE: false CARGO_HTTP_CHECK_REVOKE: false
arm:
poolName: "Packet"
rust_toolchain: nightly-2019-12-19
windows: windows:
poolName: "Azure Pipelines"
imageName: "vs2017-win2016" imageName: "vs2017-win2016"
rust_toolchain: '1.41.1' rust_toolchain: '1.41.1'
pool: pool:
name: $(poolName)
vmImage: $(imageName) vmImage: $(imageName)
condition: in(variables['Build.SourceBranch'], 'refs/heads/master', 'refs/heads/staging', 'refs/heads/trying') condition: in(variables['Build.SourceBranch'], 'refs/heads/master', 'refs/heads/staging', 'refs/heads/trying')
steps: steps:
@ -116,13 +123,19 @@ jobs:
strategy: strategy:
matrix: matrix:
linux: linux:
poolName: "Azure Pipelines"
imageName: "ubuntu-16.04" imageName: "ubuntu-16.04"
rust_toolchain: nightly-2019-12-19 rust_toolchain: nightly-2019-12-19
mac: mac:
poolName: "Azure Pipelines"
imageName: "macos-10.14" imageName: "macos-10.14"
rust_toolchain: nightly-2019-12-19 rust_toolchain: nightly-2019-12-19
MACOSX_DEPLOYMENT_TARGET: 10.10 MACOSX_DEPLOYMENT_TARGET: 10.10
arm:
poolName: "Packet"
rust_toolchain: nightly-2019-12-19
windows: windows:
poolName: "Azure Pipelines"
imageName: "vs2017-win2016" imageName: "vs2017-win2016"
rust_toolchain: '1.41.1' rust_toolchain: '1.41.1'
# RUSTFLAGS: -Ctarget-feature=+crt-static # RUSTFLAGS: -Ctarget-feature=+crt-static
@ -283,9 +296,8 @@ jobs:
- script: VERSION_TAG=`git describe --tags` && echo "##vso[task.setvariable variable=VERSION_TAG]$VERSION_TAG" - script: VERSION_TAG=`git describe --tags` && echo "##vso[task.setvariable variable=VERSION_TAG]$VERSION_TAG"
displayName: Set the tag name as an environment variable displayName: Set the tag name as an environment variable
- task: GithubRelease@0 - task: GithubRelease@0
displayName: "Create GitHub Release" displayName: "Create GitHub Release with artifacts"
condition: and(succeeded(), startsWith(variables['Build.SourceBranch'], 'refs/tags')) condition: and(succeeded(), startsWith(variables['Build.SourceBranch'], 'refs/tags'))
continueOnError: true
inputs: inputs:
gitHubConnection: 'wasmer' gitHubConnection: 'wasmer'
repositoryName: 'wasmerio/wasmer' repositoryName: 'wasmerio/wasmer'
@ -297,21 +309,6 @@ jobs:
# TODO: automate it all by getting the release notes from somewhere else and using the `releaseNotesFile` key # TODO: automate it all by getting the release notes from somewhere else and using the `releaseNotesFile` key
isDraft: false isDraft: false
isPreRelease: false isPreRelease: false
- task: GithubRelease@0
displayName: "Update GitHub Release with assets"
condition: and(succeededOrFailed(), startsWith(variables['Build.SourceBranch'], 'refs/tags'))
inputs:
gitHubConnection: 'wasmer'
repositoryName: 'wasmerio/wasmer'
action: 'edit'
target: '$(Build.SourceVersion)'
title: '$(VERSION_TAG)'
tag: $(VERSION_TAG)
addChangeLog: false
tagSource: 'auto'
# TODO: automate it all by getting the release notes from somewhere else and using the `releaseNotesFile` key
isDraft: false
isPreRelease: false
assets: '$(Build.ArtifactStagingDirectory)/**' assets: '$(Build.ArtifactStagingDirectory)/**'
assetUploadMode: 'replace' # Don't delete previously uploaded assets (default) assetUploadMode: 'replace' # Don't delete previously uploaded assets (default)

View File

@ -1,6 +1,5 @@
status = [ status = [
"wasmerio.wasmer", "wasmerio.wasmer"
"continuous-integration/travis-ci/push"
] ]
required_approvals = 1 required_approvals = 1
timeout_sec = 7200 timeout_sec = 7200