Add new build task for CI

This commit is contained in:
2022-09-19 04:41:39 +00:00
committed by GitHub
parent 7190550ec4
commit 1bc1582ced
2 changed files with 10 additions and 1 deletions

View File

@@ -107,6 +107,15 @@ jobs:
run: cargo build --features server,db_sqlite -vv
- name: Run tests
run: cargo test --features server,db_sqlite --verbose -- --show-output
build-db-all:
runs-on: ubuntu-latest
steps:
- name: Check Out
uses: actions/checkout@v2
- name: Build
run: cargo build --features db_all -vv
- name: Run tests
run: cargo test --features db_all --verbose -- --show-output
build-all:
runs-on: ubuntu-latest
steps:

View File

@@ -48,7 +48,7 @@ cmake = { version = "0.1", optional = true }
[features]
all = ["db", "db_sqlite", "exif", "ugoira", "server"]
avdict = ["bindgen", "cmake", "flagset"]
db = ["async-trait", "anyhow", "bytes"]
db = ["anyhow", "async-trait", "bytes"]
db_all = ["db", "db_sqlite"]
db_sqlite = ["rusqlite"]
exif = ["bindgen", "c_fixed_string", "cmake", "link-cplusplus", "utf16string"]