mirror of
https://github.com/wez/wezterm.git
synced 2024-11-24 07:46:59 +03:00
tweaking azure
This commit is contained in:
parent
ee898dfce6
commit
09f0e29434
@ -10,8 +10,13 @@ jobs:
|
|||||||
vmImage: 'ubuntu-16.04'
|
vmImage: 'ubuntu-16.04'
|
||||||
container: 'rust:latest'
|
container: 'rust:latest'
|
||||||
steps:
|
steps:
|
||||||
|
- checkout: self
|
||||||
|
submodules: true
|
||||||
- script: rustup component add clippy
|
- script: rustup component add clippy
|
||||||
displayName: Install clippy
|
displayName: Install clippy
|
||||||
|
- script: |
|
||||||
|
sudo ./get-deps
|
||||||
|
displayName: Install system dependencies
|
||||||
- script: cargo clippy --all
|
- script: cargo clippy --all
|
||||||
displayName: Run Clippy
|
displayName: Run Clippy
|
||||||
|
|
||||||
@ -79,9 +84,6 @@ jobs:
|
|||||||
displayName: Cargo build
|
displayName: Cargo build
|
||||||
- script: cargo test --all
|
- script: cargo test --all
|
||||||
displayName: Cargo test
|
displayName: Cargo test
|
||||||
- script: ci/deploy.sh
|
|
||||||
displayName: Packaging
|
|
||||||
condition: ne( variables['Agent.OS'], 'Windows_NT' )
|
|
||||||
|
|
||||||
- job: 'Package'
|
- job: 'Package'
|
||||||
strategy:
|
strategy:
|
||||||
@ -106,13 +108,13 @@ jobs:
|
|||||||
- script: |
|
- script: |
|
||||||
curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain $RUSTUP_TOOLCHAIN
|
curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain $RUSTUP_TOOLCHAIN
|
||||||
echo "##vso[task.setvariable variable=PATH;]$HOME/.cargo/bin:$PATH"
|
echo "##vso[task.setvariable variable=PATH;]$HOME/.cargo/bin:$PATH"
|
||||||
displayName: Install rust
|
displayName: Install rust (posix)
|
||||||
condition: ne( variables['Agent.OS'], 'Windows_NT' )
|
condition: ne( variables['Agent.OS'], 'Windows_NT' )
|
||||||
- script: |
|
- script: |
|
||||||
curl -sSf -o rustup-init.exe https://win.rustup.rs
|
curl -sSf -o rustup-init.exe https://win.rustup.rs
|
||||||
rustup-init.exe -yv --default-toolchain %RUSTUP_TOOLCHAIN%
|
rustup-init.exe -yv --default-toolchain %RUSTUP_TOOLCHAIN%
|
||||||
echo "##vso[task.setvariable variable=PATH;]%USERPROFILE%\.cargo\bin;%PATH%"
|
echo "##vso[task.setvariable variable=PATH;]%USERPROFILE%\.cargo\bin;%PATH%"
|
||||||
displayName: Windows install rust
|
displayName: install rust (windows)
|
||||||
condition: eq( variables['Agent.OS'], 'Windows_NT' )
|
condition: eq( variables['Agent.OS'], 'Windows_NT' )
|
||||||
- script: |
|
- script: |
|
||||||
rustup update
|
rustup update
|
||||||
@ -126,7 +128,7 @@ jobs:
|
|||||||
displayName: Install system dependencies
|
displayName: Install system dependencies
|
||||||
condition: ne( variables['Agent.OS'], 'Windows_NT' )
|
condition: ne( variables['Agent.OS'], 'Windows_NT' )
|
||||||
- script: cargo build --release --all
|
- script: cargo build --release --all
|
||||||
displayName: Cargo build
|
displayName: Build in release mode
|
||||||
- script: ci/deploy.sh
|
- script: ci/deploy.sh
|
||||||
displayName: Packaging
|
displayName: Packaging
|
||||||
condition: ne( variables['Agent.OS'], 'Windows_NT' )
|
condition: ne( variables['Agent.OS'], 'Windows_NT' )
|
||||||
|
Loading…
Reference in New Issue
Block a user