mirror of
https://github.com/rustwasm/wasm-bindgen.git
synced 2024-12-14 12:02:23 +03:00
377d75c2c3
This commit switches CI for the wasm-bindgen repository from a mixture of Travis and AppVeyor to Azure Pipelines. One of the main reasons for this was for me to personally get familiar with Azure Pipelines, but after finishing it I think that this'd be a good transition for this repository anyway. With azure pipelines we're able to get more parallelism (10 vs the 3 on Travis plus 1 on AppVeyor) as well as house all configuration in the same location for one service (Azure Pipelines covers all 3 major platforms). I've tested this a good deal on my own personal repository as well, and I believe that this is a lossless representation of our current CI, releases and all!
17 lines
466 B
YAML
17 lines
466 B
YAML
parameters:
|
|
artifacts: 'target/release'
|
|
name: ''
|
|
|
|
steps:
|
|
- bash: |
|
|
set -ex
|
|
dst=$BUILD_ARTIFACTSTAGINGDIRECTORY
|
|
rm -f ${{ parameters.artifacts }}/wasm*.d
|
|
rm -f ${{ parameters.artifacts }}/wasm*.pdb
|
|
cp ${{ parameters.artifacts }}/wasm* $dst/
|
|
displayName: Create distribution tarball
|
|
- task: PublishPipelineArtifact@0
|
|
inputs:
|
|
artifactName: ${{ parameters.name }}
|
|
targetPath: '$(Build.ArtifactStagingDirectory)'
|