Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make CI build & test use default and all feature sets #121

Merged
merged 1 commit into from
Jun 12, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ jobs:
fail-fast: false
matrix:
os: [ ubuntu-latest, macos-latest, windows-latest ]
feature-set: [ "", "--all-features" ] # no feature options ("") uses default.
# --no-default-features is not allowed
# at root of virtual workspace for
# both build and test.


runs-on: ${{ matrix.os }}
Expand Down Expand Up @@ -43,10 +47,10 @@ jobs:
## Build and run steps

- name: Build
run: cargo build --verbose
run: cargo build ${{ matrix.feature-set }} --verbose

- name: Test
run: cargo test --verbose
run: cargo test ${{ matrix.feature-set }} --verbose

format:
runs-on: ubuntu-latest
Expand Down