Skip to content

Commit

Permalink
Trying to improve pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
syrusakbary committed Sep 1, 2019
1 parent 329b283 commit 19a7301
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,17 +107,28 @@ jobs:
- bash: |
cargo build --release --manifest-path wapm-cli/Cargo.toml --features "telemetry update-notifications"
displayName: Build WAPM
condition: |
eq(variables['Build.SourceBranch'], 'refs/heads/master')
- bash: |
make build-install
cp ./wasmer.tar.gz ./artifacts/$(./scripts/binary-name.sh)
displayName: Build Distribution (*nix)
condition: and(succeeded(), not(eq(variables['Agent.OS'], 'Windows_NT')))
condition: |
and(
succeeded(),
not(eq(variables['Agent.OS'], 'Windows_NT'))
)
- bash: |
cd ./src/installer
iscc wasmer.iss
cp WasmerInstaller.exe ../../artifacts/wasmer-windows.exe
displayName: Build Distribution (Windows)
condition: and(succeeded(), eq(variables['Agent.OS'], 'Windows_NT'))
condition: |
and(
succeeded(),
eq(variables['Build.SourceBranch'], 'refs/heads/master'),
eq(variables['Agent.OS'], 'Windows_NT')
)
- publish: $(System.DefaultWorkingDirectory)/artifacts
artifact: cli-$(Agent.OS)

Expand Down Expand Up @@ -172,6 +183,7 @@ jobs:
dependsOn:
- Build_CLI
- Build_Library
condition: eq(variables['Build.SourceBranch'], 'refs/heads/master')
steps:
# - download: current
- task: DownloadPipelineArtifact@1
Expand Down

0 comments on commit 19a7301

Please sign in to comment.