Skip to content
This repository was archived by the owner on Aug 12, 2021. It is now read-only.

Commit c3f88d9

Browse files
committed
Remove appveyor and use Azure Pipelines instead
1 parent d95c955 commit c3f88d9

File tree

5 files changed

+55
-29
lines changed

5 files changed

+55
-29
lines changed

.appveyor.yml

Lines changed: 0 additions & 27 deletions
This file was deleted.

.azure-pipelines.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
trigger:
2+
- master
3+
4+
jobs:
5+
- template: ci/azure-job-test-all.yml
6+
parameters:
7+
vmImage: vs2017-win2016
8+
name: x86_64_msvc
9+
target: x86_64-pc-windows-msvc
10+
- template: ci/azure-job-test-all.yml
11+
parameters:
12+
vmImage: vs2017-win2016
13+
toolchain: nightly-x86_64-gnu
14+
name: x86_64_mingw
15+
target: x86_64-pc-windows-gnu

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ matrix:
1313
- name: "i686-unknown-linux-gnu"
1414
env: TARGET=i686-unknown-linux-gnu
1515
- name: "i686-apple-darwin"
16-
env: TARGET=i686-apple-darwin NO_DOCKER=1
16+
env: TARGET=i686-apple-darwin
1717
os: osx
1818
osx_image: xcode10
1919
- name: "x86_64-apple-darwin"
20-
env: TARGET=x86_64-apple-darwin NO_DOCKER=1
20+
env: TARGET=x86_64-apple-darwin
2121
os: osx
2222
osx_image: xcode10
2323
install: true

ci/azure-install-rust.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
parameters:
2+
toolchain: 'nightly'
3+
4+
steps:
5+
- bash: |
6+
curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain $TOOLCHAIN
7+
echo "##vso[task.setvariable variable=PATH;]$PATH:$HOME/.cargo/bin"
8+
displayName: Install rust
9+
condition: ne( variables['Agent.OS'], 'Windows_NT' )
10+
env:
11+
TOOLCHAIN: ${{ parameters.toolchain }}
12+
- script: |
13+
curl -sSf -o rustup-init.exe https://win.rustup.rs
14+
rustup-init.exe -y --default-toolchain %TOOLCHAIN%
15+
echo "##vso[task.setvariable variable=PATH;]%PATH%;%USERPROFILE%\.cargo\bin"
16+
displayName: Install rust
17+
condition: eq( variables['Agent.OS'], 'Windows_NT' )
18+
env:
19+
TOOLCHAIN: ${{ parameters.toolchain }}
20+
- script: |
21+
rustc -Vv
22+
cargo -V
23+
displayName: Query rust and cargo versions

ci/azure-job-test-all.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
parameters:
2+
toolchain: 'nightly'
3+
vmImage: 'ubuntu-16.04'
4+
name: ''
5+
6+
jobs:
7+
- job: ${{ parameters.name }}
8+
pool:
9+
vmImage: ${{ parameters.vmImage }}
10+
steps:
11+
- template: azure-install-rust.yml
12+
parameters:
13+
toolchain: ${{ parameters.toolchain }}
14+
- script: cargo test -vv --all --target ${{ parameters.target }}
15+
- script: cargo test -vv --all --release --target ${{ parameters.target }}

0 commit comments

Comments
 (0)