Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tweak CI config #99

Merged
merged 1 commit into from
Sep 20, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ jobs:
parameters:
toolchain: stable
name: stable
cross: true
- template: ci/azure-test.yml
parameters:
toolchain: beta
Expand All @@ -39,7 +40,6 @@ jobs:
parameters:
toolchain: nightly
name: nightly
cross: true

- job: compiletest
pool:
Expand Down
8 changes: 6 additions & 2 deletions ci/azure-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,12 @@ jobs:

- ${{ if eq(parameters.toolchain, 'nightly') }}:
- script: |
RUSTFLAGS='-Dwarnings -Zallow-features=proc_macro_hygiene,stmt_expr_attributes' cargo ${{ parameters.cmd }} --all --all-features
displayName: cargo ${{ parameters.cmd }} -Zallow-features
RUSTFLAGS='-Dwarnings --cfg pin_project_show_unpin_struct' cargo ${{ parameters.cmd }} --all --all-features
displayName: cargo ${{ parameters.cmd }} --cfg pin_project_show_unpin_struct

- script: |
RUSTFLAGS='-Dwarnings -Zallow-features=proc_macro_hygiene,stmt_expr_attributes' cargo check --all --all-features
displayName: cargo check -Zallow-features

# Refs: https://github.com/rust-lang/cargo/issues/5657
- script: |
Expand Down