forked from github-mirrorer/taskchampion-sync-server
Add a binary that uses a Postgres backend
Building of this binary is controlled with features, allowing downstream users to build just the SQLite version and not be concerned with the tokio-postgres dependency tree (which includes links to OpenSSL and other details). The Postgres version is disabled by default. This does not change the binary name for the SQLite build, just to avoid confusion for people upgrading to the new version.
This commit is contained in:
14
.github/workflows/checks.yml
vendored
14
.github/workflows/checks.yml
vendored
@ -66,7 +66,13 @@ jobs:
|
||||
uses: actions-rs/cargo@v1.0.3
|
||||
with:
|
||||
command: rustdoc
|
||||
args: -p taskchampion-sync-server --all-features -- -Z unstable-options --check -Dwarnings
|
||||
args: -p taskchampion-sync-server --bin taskchampion-sync-server --all-features -- -Z unstable-options --check -Dwarnings
|
||||
|
||||
- name: taskchampion-sync-server-postgres
|
||||
uses: actions-rs/cargo@v1.0.3
|
||||
with:
|
||||
command: rustdoc
|
||||
args: -p taskchampion-sync-server --bin taskchampion-sync-server-postgres --all-features -- -Z unstable-options --check -Dwarnings
|
||||
|
||||
- name: taskchampion-sync-server-core
|
||||
uses: actions-rs/cargo@v1.0.3
|
||||
@ -80,6 +86,12 @@ jobs:
|
||||
command: rustdoc
|
||||
args: -p taskchampion-sync-server-storage-sqlite --all-features -- -Z unstable-options --check -Dwarnings
|
||||
|
||||
- name: taskchampion-sync-server-storage-postgres
|
||||
uses: actions-rs/cargo@v1.0.3
|
||||
with:
|
||||
command: rustdoc
|
||||
args: -p taskchampion-sync-server-storage-postgres --all-features -- -Z unstable-options --check -Dwarnings
|
||||
|
||||
fmt:
|
||||
runs-on: ubuntu-latest
|
||||
name: "Formatting"
|
||||
|
||||
Reference in New Issue
Block a user