mirror of
https://github.com/fluencelabs/wasmer
synced 2025-04-25 10:22:19 +00:00
Trying to improve pipelines
This commit is contained in:
parent
329b283937
commit
19a7301b07
@ -107,17 +107,28 @@ jobs:
|
|||||||
- bash: |
|
- bash: |
|
||||||
cargo build --release --manifest-path wapm-cli/Cargo.toml --features "telemetry update-notifications"
|
cargo build --release --manifest-path wapm-cli/Cargo.toml --features "telemetry update-notifications"
|
||||||
displayName: Build WAPM
|
displayName: Build WAPM
|
||||||
|
condition: |
|
||||||
|
eq(variables['Build.SourceBranch'], 'refs/heads/master')
|
||||||
- bash: |
|
- bash: |
|
||||||
make build-install
|
make build-install
|
||||||
cp ./wasmer.tar.gz ./artifacts/$(./scripts/binary-name.sh)
|
cp ./wasmer.tar.gz ./artifacts/$(./scripts/binary-name.sh)
|
||||||
displayName: Build Distribution (*nix)
|
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: |
|
- bash: |
|
||||||
cd ./src/installer
|
cd ./src/installer
|
||||||
iscc wasmer.iss
|
iscc wasmer.iss
|
||||||
cp WasmerInstaller.exe ../../artifacts/wasmer-windows.exe
|
cp WasmerInstaller.exe ../../artifacts/wasmer-windows.exe
|
||||||
displayName: Build Distribution (Windows)
|
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
|
- publish: $(System.DefaultWorkingDirectory)/artifacts
|
||||||
artifact: cli-$(Agent.OS)
|
artifact: cli-$(Agent.OS)
|
||||||
|
|
||||||
@ -172,6 +183,7 @@ jobs:
|
|||||||
dependsOn:
|
dependsOn:
|
||||||
- Build_CLI
|
- Build_CLI
|
||||||
- Build_Library
|
- Build_Library
|
||||||
|
condition: eq(variables['Build.SourceBranch'], 'refs/heads/master')
|
||||||
steps:
|
steps:
|
||||||
# - download: current
|
# - download: current
|
||||||
- task: DownloadPipelineArtifact@1
|
- task: DownloadPipelineArtifact@1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user