-
Notifications
You must be signed in to change notification settings - Fork 93
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add qlog feature flag to reduce the size of complied library
- Loading branch information
Showing
9 changed files
with
137 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: Features | ||
|
||
on: | ||
push: | ||
branches: [ "develop" ] | ||
pull_request: | ||
branches: [ "develop" ] | ||
|
||
env: | ||
CARGO_TERM_COLOR: always | ||
|
||
jobs: | ||
features: | ||
name: Build and test | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
submodules: 'recursive' | ||
- name: Update rust | ||
run: rustup update | ||
- name: Build without default features | ||
run: cargo build --all --no-default-features && cargo test --no-default-features | ||
- name: Build with feature(s) ffi | ||
run: cargo build --all --no-default-features -F ffi && cargo test --no-default-features -F ffi | ||
- name: Build with feature(s) qlog | ||
run: cargo build --all --no-default-features -F qlog && cargo test --no-default-features -F qlog | ||
- name: Build with feature(s) ffi,qlog | ||
run: cargo build --all --no-default-features -F ffi,qlog && cargo test --no-default-features -F ffi,qlog | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.