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 command: test
args: --features bundled --workspace --all-targets 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: with:
command: test command: test
args: --features bundled-full --all-targets --workspace args: --features bundled-full --all-targets --workspace
@ -81,8 +90,8 @@ jobs:
RUSTFLAGS: -D warnings RUSTFLAGS: -D warnings
with: with:
command: clippy command: clippy
# Clippy with bundled-full # Clippy with all non-conflicting features
args: --all-targets --workspace --features bundled-full args: --all-targets --workspace --features 'bundled-full session buildtime_bindgen'
# Ensure patch is formatted. # Ensure patch is formatted.
fmt: fmt:
@ -118,4 +127,4 @@ jobs:
RUSTFLAGS: -D warnings RUSTFLAGS: -D warnings
with: with:
command: doc 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", "load_extension",
"serde_json", "serde_json",
"series", "series",
"session",
"trace", "trace",
"unlock_notify", "unlock_notify",
"url", "url",