mirror of
https://github.com/fluencelabs/wasmer
synced 2024-12-05 02:20:19 +00:00
Improved Azure Pipelines to make the releases
This commit is contained in:
parent
a31dae2bf2
commit
366c6e1efb
@ -2,12 +2,17 @@
|
||||
|
||||
steps:
|
||||
- bash: |
|
||||
set -ex
|
||||
if [ -x "`command -v iscc`" ]; then
|
||||
echo `command -v iscc` `iscc -?` installed
|
||||
else
|
||||
choco install innosetup -y
|
||||
fi
|
||||
displayName: Install InnoSetup - Windows
|
||||
condition: eq(variables['Agent.OS'], 'Windows_NT')
|
||||
|
||||
- bash: |
|
||||
set -ex
|
||||
iscc
|
||||
displayName: InnoSetup
|
||||
condition: eq(variables['Agent.OS'], 'Windows_NT')
|
||||
# - bash: |
|
||||
# set -ex
|
||||
# iscc
|
||||
# displayName: InnoSetup
|
||||
# condition: eq(variables['Agent.OS'], 'Windows_NT')
|
||||
|
@ -93,12 +93,6 @@ jobs:
|
||||
- template: .azure/install-cmake.yml
|
||||
- template: .azure/install-innosetup.yml
|
||||
- template: .azure/install-llvm.yml
|
||||
- bash: make release
|
||||
displayName: Build (*nix)
|
||||
condition: and(succeeded(), not(eq(variables['Agent.OS'], 'Windows_NT')))
|
||||
- bash: make release-llvm
|
||||
displayName: Build (Windows)
|
||||
condition: and(succeeded(), eq(variables['Agent.OS'], 'Windows_NT'))
|
||||
- bash: make capi
|
||||
displayName: Build c-api (*nix)
|
||||
condition: and(succeeded(), not(eq(variables['Agent.OS'], 'Windows_NT')))
|
||||
@ -107,6 +101,25 @@ jobs:
|
||||
cargo build -p wasmer-runtime-c-api --release
|
||||
displayName: Build c-api (Windows)
|
||||
condition: and(succeeded(), eq(variables['Agent.OS'], 'Windows_NT'))
|
||||
- bash: make release
|
||||
displayName: Build (*nix)
|
||||
condition: and(succeeded(), not(eq(variables['Agent.OS'], 'Windows_NT')))
|
||||
- bash: make release-llvm
|
||||
displayName: Build (Windows)
|
||||
condition: and(succeeded(), eq(variables['Agent.OS'], 'Windows_NT'))
|
||||
- bash: |
|
||||
cargo build --release --manifest-path wapm-cli/Cargo.toml --features "telemetry update-notifications"
|
||||
displayName: Build WAPM
|
||||
- bash: |
|
||||
mkdir -p artifacts
|
||||
make build-install
|
||||
displayName: Build Distribution (*nix)
|
||||
condition: and(succeeded(), not(eq(variables['Agent.OS'], 'Windows_NT')))
|
||||
- bash: |
|
||||
cd ./src/installer
|
||||
iscc wasmer.iss
|
||||
displayName: Build Distribution (Windows)
|
||||
condition: and(succeeded(), eq(variables['Agent.OS'], 'Windows_NT'))
|
||||
- bash: |
|
||||
install_name_tool -id "@rpath/libwasmer_runtime_c_api.dylib" target/release/libwasmer_runtime_c_api.dylib
|
||||
displayName: Build c-api (Darwin fix)
|
||||
|
Loading…
Reference in New Issue
Block a user