ci: add muliple build configurations

This commit is contained in:
realaltffour 2020-08-11 17:58:10 +03:00
parent e6b8c265f5
commit ab2bc4ff21
No known key found for this signature in database
GPG Key ID: C1265D839D44DCB1
1 changed files with 8 additions and 2 deletions

View File

@ -13,7 +13,13 @@ jobs:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@v2
- name: Build
run: cargo build
- name: Build Minimal
run: cargo build --no-default-features
- name: Build Client
run: cargo build --no-default-features "client"
- name: Build Server
run: cargo build --no-default-features "server"
- name: Build Hybrid
run: cargo build --no-default-features "server,client"
- name: Run benches
run: cargo bench