mirror of
https://github.com/isar/rusqlite.git
synced 2024-11-29 21:52:12 +08:00
Use bundled-full in github CI. Use actions-rs in more places for better error reporting
This commit is contained in:
parent
f95c3775b2
commit
2f9bd7ed63
35
.github/workflows/main.yml
vendored
35
.github/workflows/main.yml
vendored
@ -32,11 +32,22 @@ jobs:
|
|||||||
profile: minimal
|
profile: minimal
|
||||||
toolchain: stable
|
toolchain: stable
|
||||||
override: true
|
override: true
|
||||||
- run: cargo build --features bundled --workspace --all-targets
|
|
||||||
- run: cargo test --features bundled --workspace --all-targets
|
- uses: actions-rs/cargo@v1
|
||||||
- run: cargo test --features bundled --workspace --doc
|
with:
|
||||||
# We can't use --all-features.
|
command: build
|
||||||
- run: cargo test --features 'array backup blob bundled chrono collation csvtab extra_check functions hooks i128_blob limits load_extension serde_json series trace url vtab_v3 window'
|
args: --features bundled --workspace --all-targets
|
||||||
|
|
||||||
|
- uses: actions-rs/cargo@v1
|
||||||
|
with:
|
||||||
|
command: test
|
||||||
|
args: --features bundled --workspace --all-targets
|
||||||
|
|
||||||
|
- uses: actions-rs/cargo@v1
|
||||||
|
with:
|
||||||
|
command: test
|
||||||
|
args: --features bundled-full --all-targets --workspace
|
||||||
|
|
||||||
- name: Static build
|
- name: Static build
|
||||||
if: matrix.platform.os == 'windows-latest'
|
if: matrix.platform.os == 'windows-latest'
|
||||||
shell: cmd
|
shell: cmd
|
||||||
@ -47,6 +58,8 @@ jobs:
|
|||||||
# Ensure clippy doesn't complain.
|
# Ensure clippy doesn't complain.
|
||||||
clippy:
|
clippy:
|
||||||
name: Clippy
|
name: Clippy
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
@ -61,7 +74,15 @@ jobs:
|
|||||||
RUSTFLAGS: -D warnings
|
RUSTFLAGS: -D warnings
|
||||||
with:
|
with:
|
||||||
command: clippy
|
command: clippy
|
||||||
args: --all-targets --all --features 'array backup blob bundled chrono collation csvtab extra_check functions hooks i128_blob limits load_extension serde_json series trace url vtab_v3 window' -- -D warnings
|
# clippy with just bundled
|
||||||
|
args: --all-targets --all --features bundled
|
||||||
|
- uses: actions-rs/cargo@v1
|
||||||
|
env:
|
||||||
|
RUSTFLAGS: -D warnings
|
||||||
|
with:
|
||||||
|
command: clippy
|
||||||
|
# Clippy with bundled-full
|
||||||
|
args: --all-targets --all --features bundled-full
|
||||||
|
|
||||||
# Ensure patch is formatted.
|
# Ensure patch is formatted.
|
||||||
fmt:
|
fmt:
|
||||||
@ -97,4 +118,4 @@ jobs:
|
|||||||
RUSTFLAGS: -D warnings
|
RUSTFLAGS: -D warnings
|
||||||
with:
|
with:
|
||||||
command: doc
|
command: doc
|
||||||
args: --no-deps --features 'array backup blob bundled chrono collation csvtab extra_check functions hooks i128_blob limits load_extension serde_json series trace url vtab_v3 window'
|
args: --no-deps --features bundled-full
|
||||||
|
Loading…
Reference in New Issue
Block a user