mirror of
https://github.com/isar/rusqlite.git
synced 2024-11-23 00:39:20 +08:00
Run buildtime_bindgen and session in github CI instead where possible
This commit is contained in:
parent
74e815fb6d
commit
6f4c67e1ea
17
.github/workflows/main.yml
vendored
17
.github/workflows/main.yml
vendored
@ -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'
|
||||||
|
@ -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",
|
||||||
|
Loading…
Reference in New Issue
Block a user