Skip to content

Commit

Permalink
Add unstable API checks to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
grovesNL committed Feb 26, 2020
1 parent bd95c4f commit 0942bf9
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,10 @@ jobs:
- script: cargo build --manifest-path crates/web-sys/Cargo.toml --target wasm32-unknown-unknown --features Element
- script: cargo build --manifest-path crates/web-sys/Cargo.toml --target wasm32-unknown-unknown --features Window
- script: cargo test --manifest-path crates/web-sys/Cargo.toml --target wasm32-unknown-unknown --all-features
- script: cargo test --manifest-path crates/web-sys/Cargo.toml --target wasm32-unknown-unknown --all-features
displayName: "web-sys unstable APIs"
env:
RUSTFLAGS: --cfg=web_sys_unstable_apis

- job: test_js_sys
displayName: "Run js-sys crate tests"
Expand Down Expand Up @@ -150,6 +154,10 @@ jobs:
- script: cargo test -p webidl-tests --target wasm32-unknown-unknown
env:
WBINDGEN_I_PROMISE_JS_SYNTAX_WORKS_IN_NODE: 1
- script: cargo test -p webidl-tests --target wasm32-unknown-unknown
displayName: "webidl-tests unstable APIs"
env:
RUSTFLAGS: --cfg=web_sys_unstable_apis

- job: test_ui
displayName: "Run UI tests"
Expand Down

0 comments on commit 0942bf9

Please sign in to comment.