Run buildtime_bindgen and session in github CI instead where possible

This commit is contained in:
Thom Chiovoloni 2020-04-07 14:42:29 -07:00
parent 74e815fb6d
commit 6f4c67e1ea
2 changed files with 13 additions and 5 deletions

View File

@ -43,7 +43,16 @@ jobs:
command: test
args: --features bundled --workspace --all-targets
- uses: actions-rs/cargo@v1
- name: "cargo test --features 'bundled-full session buildtime_bindgen'"
if: matrix.platform.os != 'windows-latest'
uses: actions-rs/cargo@v1
with:
command: test
args: --features 'bundled-full session buildtime_bindgen' --all-targets --workspace
- name: "cargo test --features bundled-full"
if: matrix.platform.os == 'windows-latest'
uses: actions-rs/cargo@v1
with:
command: test
args: --features bundled-full --all-targets --workspace
@ -81,8 +90,8 @@ jobs:
RUSTFLAGS: -D warnings
with:
command: clippy
# Clippy with bundled-full
args: --all-targets --workspace --features bundled-full
# Clippy with all non-conflicting features
args: --all-targets --workspace --features 'bundled-full session buildtime_bindgen'
# Ensure patch is formatted.
fmt:
@ -118,4 +127,4 @@ jobs:
RUSTFLAGS: -D warnings
with:
command: doc
args: --no-deps --features bundled-full
args: --no-deps --features 'bundled-full session buildtime_bindgen'

View File

@ -77,7 +77,6 @@ bundled-full = [
"load_extension",
"serde_json",
"series",
"session",
"trace",
"unlock_notify",
"url",