mirror of
https://github.com/fluencelabs/wasmer
synced 2024-12-05 02:20:19 +00:00
Fix azure pipelines release
This commit is contained in:
parent
c96559305d
commit
c88196355d
@ -22,24 +22,24 @@ jobs:
|
||||
- script: cargo fmt --all -- --check
|
||||
displayName: Lint
|
||||
variables:
|
||||
rust_toolchain: '1.39.0'
|
||||
rust_toolchain: '1.38.0'
|
||||
|
||||
- job: Test
|
||||
strategy:
|
||||
matrix:
|
||||
linux:
|
||||
imageName: "ubuntu-16.04"
|
||||
rust_toolchain: nightly-2019-12-19
|
||||
rust_toolchain: nightly-2019-08-15
|
||||
mac:
|
||||
imageName: "macos-10.14"
|
||||
rust_toolchain: nightly-2019-12-19
|
||||
rust_toolchain: nightly-2019-08-15
|
||||
# By default schannel checks revocation of certificates unlike some other SSL
|
||||
# backends, but we've historically had problems on CI where a revocation
|
||||
# server goes down presumably. See #43333 for more info
|
||||
CARGO_HTTP_CHECK_REVOKE: false
|
||||
windows:
|
||||
imageName: "vs2017-win2016"
|
||||
rust_toolchain: '1.39.0'
|
||||
rust_toolchain: '1.38.0'
|
||||
pool:
|
||||
vmImage: $(imageName)
|
||||
condition: in(variables['Build.SourceBranch'], 'refs/heads/master', 'refs/heads/staging', 'refs/heads/trying')
|
||||
@ -75,7 +75,7 @@ jobs:
|
||||
pool:
|
||||
vmImage: "ubuntu-16.04"
|
||||
variables:
|
||||
rust_toolchain: nightly-2019-12-19
|
||||
rust_toolchain: nightly-2019-08-15
|
||||
condition: in(variables['Build.SourceBranch'], 'refs/heads/master', 'refs/heads/staging', 'refs/heads/trying')
|
||||
steps:
|
||||
- checkout: self
|
||||
@ -93,14 +93,14 @@ jobs:
|
||||
matrix:
|
||||
linux:
|
||||
imageName: "ubuntu-16.04"
|
||||
rust_toolchain: nightly-2019-12-19
|
||||
rust_toolchain: nightly-2019-08-15
|
||||
mac:
|
||||
imageName: "macos-10.14"
|
||||
rust_toolchain: nightly-2019-12-19
|
||||
rust_toolchain: nightly-2019-08-15
|
||||
MACOSX_DEPLOYMENT_TARGET: 10.10
|
||||
windows:
|
||||
imageName: "vs2017-win2016"
|
||||
rust_toolchain: '1.39.0'
|
||||
rust_toolchain: '1.38.0'
|
||||
# RUSTFLAGS: -Ctarget-feature=+crt-static
|
||||
pool:
|
||||
vmImage: $(imageName)
|
||||
@ -160,14 +160,14 @@ jobs:
|
||||
matrix:
|
||||
linux:
|
||||
imageName: "ubuntu-16.04"
|
||||
rust_toolchain: nightly-2019-12-19
|
||||
rust_toolchain: nightly-2019-08-15
|
||||
mac:
|
||||
imageName: "macos-10.14"
|
||||
rust_toolchain: nightly-2019-12-19
|
||||
rust_toolchain: nightly-2019-08-15
|
||||
MACOSX_DEPLOYMENT_TARGET: 10.10
|
||||
windows:
|
||||
imageName: "vs2017-win2016"
|
||||
rust_toolchain: '1.39.0'
|
||||
rust_toolchain: '1.38.0'
|
||||
# RUSTFLAGS: -Ctarget-feature=+crt-static
|
||||
pool:
|
||||
vmImage: $(imageName)
|
||||
@ -231,6 +231,7 @@ jobs:
|
||||
- task: GithubRelease@0
|
||||
displayName: "Create GitHub Release"
|
||||
condition: and(succeeded(), startsWith(variables['Build.SourceBranch'], 'refs/tags'))
|
||||
continueOnError: true
|
||||
inputs:
|
||||
gitHubConnection: 'wasmer'
|
||||
repositoryName: 'wasmerio/wasmer'
|
||||
@ -242,13 +243,27 @@ jobs:
|
||||
# TODO: automate it all by getting the release notes from somewhere else and using the `releaseNotesFile` key
|
||||
isDraft: 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)'
|
||||
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)/**'
|
||||
|
||||
- job: Docs
|
||||
pool:
|
||||
vmImage: "ubuntu-16.04"
|
||||
variables:
|
||||
rust_toolchain: nightly-2019-12-19
|
||||
rust_toolchain: nightly-2019-08-15
|
||||
steps:
|
||||
- checkout: self
|
||||
submodules: true
|
||||
|
Loading…
Reference in New Issue
Block a user